Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There's an image in the VS2010 stock icon pack which is only included as a PNG, which I would like to use as an ICO (I want XP and earlier users to see the icon). How can I convert the PNG into the ICO?

share|improve this question
up vote 16 down vote accepted

For one-off tasks I usually just cheat: .

If you will be doing this fairly often, you may want to consider the free Photoshop plugin.

share|improve this answer
Holy crap -- that's one of the world's most awesome services! +1 (and check in 7 mins...) – Billy ONeal Dec 31 '10 at 18:16
This was a godlike hint. +1 biiig time! – Konrad Viltersten Dec 20 '14 at 13:54
@John T, is the shiet!!! superb!!! 1+ – indago Aug 3 '15 at 6:12
That website is a perfect advice. And still online, 5 years after! – George Apr 22 at 13:28

There's also the Paint.NET ICO plugin.

share|improve this answer
+1 And it's free. (Paint.NET and the plugin.) – Mateen Ulhaq Dec 31 '10 at 18:48

You can also use the imagemagick convert utility, that can take several images and pack them in one single icon file. It can also do re-sizing and lots of image manipulation. A powerful tool that can also be batched easily.

Here is a basic example exporting a svg file and packing several files in the final icon:

convert icon.svg -scale 32 tmp/32.png
convert tmp/16.png tmp/32.png tmp/48.png tmp/128.png tmp/256.png  icon.ico
share|improve this answer

Install ffmpeg from: Windows: OSX:

From the shell, use the following command to convert PNG to ICO.

ffmpeg -i img.png img.ico

Also if you use ffmpeg regularly, don't forget to add it your PATH variable.

share|improve this answer
Please provide context to your answer. Is ffmpeg supplied with Windows? How do I install it if it isn't? As it stands, your answer (though technically accurate) is not of a high enough quality. – user3463 Nov 23 '13 at 0:16
Good try. It works for bmp, but not for ico (it's scrambled for me). – kenorb Jan 29 '15 at 19:16

Here is another web service for conversion to ico

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .