質問
どのツールを使用できま変換する。ICOファイルa.PNGファイルとは何ですか?
解決
無料: @アイコンは寿司 は非常に良い作のためのアイコンです:
特徴
- アイコンは寿司に変換する機能画像ファイルのアイコンのファイルを開きます。
- Windows Vistaへの対応大ョンコンポーネントです。(変換の大きな画像とPNGの圧縮)
- 支援のためのWindows XP32bitョンコンポーネントです。
- 支援のための複数アイコンを含むいくつかのアイコンにファイルです。
- 編集アルファチャンネルと透明性-マスクです。
- 開1x1に256x256サイズのイメージ画像です。
- 開1/4/8/24/32bitカラー画像.
- :ICO/BMP/PNG/PSD/EXE/DLL/但しに変換するもの:ICO/BMP/PNG/ICL
- コピー/ペーストからのクリップボードへ格納します。
他のヒント
Googleは、icoをpngコンバータで見た reddit したいと思います。
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 Kearonに変更すべきだが、"正しい答え"です。
利用できる IcoFX ($59)
では-in-oneソリューションのためのアイコン 創造の抽出および編集する。で は、最新のWindows XP、 Windows VistaやMacintoshのアイコン 支援す。
ConvertICO.com 常に上手でした。
がわかりませんではいず IrFanView.幻想的なバッチ変換する画像を含む、icoをpng"となります。
端末のmac:
convert favicon.ico favicon.png
場合は誰に変換したいと Pythonの画像ライブラリ(呼) メモリからファイルまたは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ポフWindowsアイコン、PNG、ico Mac OS X ico,JPG画像をインタラクティブなプロトタイ、アイコンです。
ここでは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);
}
}
無料の強力な方法で取り下げ等を含むに関連して。icoのファイル1024x1024以上の作品win7少なくとも、私は試される)
で保存します。ico
:)
透明性やすいように見えて、新しい画像を選択のオプション、背景色->の透明性
のバージョンの塗装する船舶はWindows7に変換しアイコンをPNG、JPEG、ect...ます。
だけで走行する。参考までに開きます。icoの塗装に保存します。png"となります。に努めます。
http://convertico.org/ ユーザーに変換で複数のicoファイルをPNG、GIFまたはJPEGファイルまれています。
ではないだろうかなか答えだみつのアイコンが遠くても構わないので、画面のアイコンのフォルダーチをしています。のアイコンを示したいサイズ、背景色に白のコースです。
をご利用の場合もスクリーンショットを行なうSnagItはWinSnap、地域のスナップしていく必要がある。である。
ことに注意しています。
場合は上の空欄にないプしてただの画面を印刷や食物です。
がオンライン変換ツールの利用 http://www.html-kit.com/favicon/.に加え、発生の .ico
ともなりますアニメ .gif
バージョン。
アイコンに変換 別のオンラインツールとサイズ変更オプションです。
他の代替する IrfanView