문제

무엇을 도구로 사용할 수 있습니 변환합니다.ICO 파일을.PNG 파일입니까?

도움이 되었습니까?

해결책

무료: @아이콘 스시 매우 좋은 작업에 대한 아이콘:

특징

  • 아이콘 스시로 변환할 수 있는 이미지 파일 아이콘으로 파일과 그 반대입니다.
  • Windows Vista 지원에 대한 큰 아이콘이 있습니다.(변환 큰 이미지와 함께 PNG 압축)
  • 윈도우 XP 에 대한 지원 32bit 아이콘이 있습니다.
  • 을 지원한 여러 아이콘을 포함하는 일부 아이콘에 있는 파일입니다.
  • 편집 알파 채널과 투명성 마스크입니다.
  • 열 1x1 256x256 크기 이점 유의하여 주시기 바랍니다.
  • 열 1/4/8/24/32 비트 컬러 이미지입니다.
  • 오픈:ICO/BMP/PNG/PSD/EXE/DLL/ICL,으로 변환:ICO/BMP/PNG/ICL
  • 복사/붙여 넣기를 클립보드에서.

다른 팁

구글은 ico png 변환기에,나는 그것에 reddit 습니다.

http://www.google.com/s2/favicons?domain=stackoverflow.com

ImageMagick 변환할 수 있는 거의 모든 널리 사용되는 이미지 형식으로 다른 있습니다.

http://www.imagemagick.org/script/index.php

http://www.imagemagick.org/script/convert.php

가 있 ImageMagick bindigs 를 위해 가장 인기 있는 언어입니다.

나는 그것을 이렇 C#작업을 수질

#region Usings

using System;
using System.IO;
using System.Linq;
// Next namespace requires a reference to PresentationCore
using System.Windows.Media.Imaging;

#endregion

namespace Imagetool
{
internal class Program
{
    private static void Main(string[] args)
    {
        new Ico2Png().Run(@"C:\Icons\",
                          @"C:\Icons\out\");
    }
}

public class Ico2Png
{
    public void Run(string inPath, string outPath)
    {
        if (!Directory.Exists(inPath))
        {
            throw new Exception("In Path does not exist");
        }

        if (!Directory.Exists(outPath))
        {
            Directory.CreateDirectory(outPath);
        }


        var files = Directory.GetFiles(inPath, "*.ico");
        foreach (var filepath in files.Take(10))
        {
            Stream iconStream = new FileStream(filepath, FileMode.Open);
            var decoder = new IconBitmapDecoder(
                iconStream,
                BitmapCreateOptions.PreservePixelFormat,
                BitmapCacheOption.None);

            var fileName = Path.GetFileName(filepath);

            // loop through images inside the file
            foreach (var frame in decoder.Frames)
            {
                // save file as PNG
                BitmapEncoder encoder = new PngBitmapEncoder();
                encoder.Frames.Add(frame);
                var size = frame.PixelHeight;

                // haven't tested the next lines - include them for bitdepth
                // See RenniePet's answer for details
                // var depth = frame.Thumbnail.Format.BitsPerPixel;
                // var path = outPath + fileName + size + depth +".png";

                var path = outPath + fileName + size + ".png";
                using (Stream saveStream = new FileStream(path, FileMode.Create))
                {
                    encoder.Save(saveStream);
                }
            }
        }
    }
}
}

참고:이 경우 무료로 이 질문을 요청했지만 분명히 그것은 지불 응용 프로그램입니다.@Sean 키아론을 변경해야 한다"올바른 응답"지금이다.

당신이 사용할 수 있는 ,추출,생성 변환 ($59)

It is an all-in-one 솔루션에 대한 아이콘 생성,추출 및 편집합니다.그 와 함께 작동하도록 설계되었 Windows XP, 윈도우 비스타와 매킨토시 아이콘 투명성을 지원하는.

ConvertICO.com 은 항상 일이 있습니다.

어디 있는지 모르겠어 나는 것이 없 Irfanview 의.환상적인 배치를 위한 변환의 이미지 포함하여,ico png.

에서는 터미널에서 맥:

convert favicon.ico favicon.png

는 경우에는 사람하고 싶으로 변환 Python Imaging Library(PIL) 메모리에서 파일이나 url

from cStringIO import StringIO
import Image
import urllib

def to_png(path, mime="png"):
    if path.startswith("http:"):
        url = urllib.quote(url)
        input = StringIO()
        input.write(urllib.urlopen(url).read())
        input.seek(0)
    else:
        input = open(path).read()

    if input:
        out  = StringIO()
        image = Image.open(input)
        image.save(out, mime.upper())
        return out.getvalue()
    else:
        return None

한 빠른 옵션을 다운로드 Paint.net 설치 아이콘/커서 플러그인.을 열 수 있습니다.ico 파일 Paint.net 편집하고 저장합니다.png 또는 다른 형식입니다.

일괄 처리를 위해,나는 두 번째 제안의 ImageMagick 나 Irfanview 의.

http://converticon.com/ 도 후보자.

체크아웃 http://iconverticons.com/ -iConvert 할 수 있습을 간편하게 변환 Windows ico Mac OS X icns,SVG Windows 아이콘,PNG ico Mac OS X ico,JPG 이미지를 Windows 아이콘,그리고 훨씬 더 많은.

여기에는 어떤 C#코드를 수행,그것에 아주 많이 기반으로 응답이 스레드에 의해"베드로".(을 찾을 경우 응답이 유용하십시오-투표는 베드로의 대답이다.)

  /// <summary>
  /// Method to extract all of the images in an ICO file as a set of PNG files. The extracted 
  /// images are written to the same disk folder as the input file, with extended filenames 
  /// indicating the size of the image (16x16, 32x32, etc.) and the bit depth of the original 
  /// image (typically 32, but may be 8 or 4 for some images in old ICO files, or even in new 
  /// ICO files that are intended to be usable in very old Windows systems). But note that the 
  /// PNG files themselves always have bit depth 32 - the bit depth indication only refers to 
  /// the source image that the PNG was created from. Note also that there seems to be a bug 
  /// that makes images larger than 48 x 48 and with color depth less than 32 non-functional.
  /// 
  /// This code is very much based on the answer by "Peter" on this thread: 
  /// http://stackoverflow.com/questions/37590/how-to-convert-ico-to-png
  /// 
  /// Plus information about how to get the color depth of the "frames" in the icon found here:
  /// http://social.msdn.microsoft.com/Forums/en-US/e46a9ad8-d65e-4aad-92c0-04d57d415065/a-bug-that-renders-iconbitmapdecoder-useless
  /// </summary>
  /// <param name="iconFileName">full path and filename of the ICO file</param>
  private static void ExtractImagesFromIconFile(string iconFileName)
  {
     try
     {
        using (Stream iconStream = new FileStream(iconFileName, FileMode.Open))
        {
           IconBitmapDecoder bitmapDecoder = new IconBitmapDecoder(iconStream, 
                               BitmapCreateOptions.PreservePixelFormat, BitmapCacheOption.None);

           foreach (BitmapFrame bitmapFrame in bitmapDecoder.Frames)
           {
              int iconSize = bitmapFrame.PixelHeight;
              int bitDepth = bitmapFrame.Thumbnail.Format.BitsPerPixel;
              string pngFileName = Path.GetDirectoryName(iconFileName) + 
                                   Path.DirectorySeparatorChar +
                                   Path.GetFileNameWithoutExtension(iconFileName) + "-" +
                                   iconSize + "x" + iconSize + "-" + bitDepth + ".png";
              using (Stream saveStream = new FileStream(pngFileName, FileMode.Create))
              {
                 BitmapEncoder bitmapEncoder = new PngBitmapEncoder();
                 bitmapEncoder.Frames.Add(bitmapFrame);
                 bitmapEncoder.Save(saveStream);
              }
           }
        }
     }
     catch (Exception ex)
     {
        MessageBox.Show("Unable to extract PNGs from ICO file: " + ex.Message,
                       "ExtractImagesFromIconFile", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
  }

XnView 한 그래픽을 위한 유틸리티 Windows/Mac/Linux(무료)을(다운로드 페이지)을 탐색할 수 있도록 이미지를 일괄 변환,변환,회전,크기 조정,스크린 샷을 등입니다.

그것을 할 수 있습니다 XYZ 하기 ICO 변환 XYZ 곳에 거의 모든 형식으로 태양 아래.

체 텍스트 http://img443.imageshack.us/img443/672/convert.gif

http://www.gimp.org/

무료이고 강력한 방법들에게 큰 해상도입니다.ico 파일 1024x1024 크거나 작동 win7 적어도,내가 테스트는:)

단지 저장과 형식을 지정합니다.ico

:)

투명성,쉽게 로드하는 새로운 이미지와 고급 옵션을 선택합,배경색->투명성

의 버전은 페인트와 함께 제공되는 윈도우 7 의 아이콘으로 변환하 PNG,JPEG,ect...지금입니다.

나는 그냥 실행으로 이 문제를 해결합니다.참고로 열린다.ico 페인트에서 다른 이름으로 저장하십시오.png.나를 위해 일했다!

http://convertico.org/ 사용자가를 변환하는 여러 ico 파일을 PNG,GIF 또는 JPG 파일을 한 단계입니다.

이것은 아마도 오히려 바보 같은 대답하지만,하나만 필요한 경우 아이콘을,당신은 스크린샷을 찍는 아이콘의 폴더에 들어온 당신.는지 확인 아이콘이 보여주는 당신이 원하는 크기를 갖는 흰 배경,물론입니다.

를 사용하는 경우에 알맞은 스크린샷과 같은 응용 프로그램그잇 또는십시오,지역 스냅 그것을 처리합니다.

이것이 당신을 포기하지 않을 투명성에 있습니다.

If you'r 지고 무언가를 위해 프로그래밍 방식의 다음 단지'인쇄 화면'및 작물이다.

온라인으로 전환할 수 있는 도구에서 http://www.html-kit.com/favicon/.이외에 생성 .ico 그것은 또한 당신에게 애니메이션 .gif 버전입니다.

아이콘 변환 또 다른 온라인 도구의 크기를 조정 옵션입니다.

또 다른 대안이 될 것입 Irfanview 의

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top