Sonntag, 23. Juni 2013

IcoConverter - A small command line utility to convert .ICO files into a specific image format like .PNG or .BMP

Ever had to extract images from an .ICO file, but didn't find a simple, free tool for this task?
I have just ran into this and was quite surprised that most of the tools out there are either shareware or way too complex in my opinion.

So I had a look into the decoding/encoding capabilities of .NET and came around with a few lines of code that do exactly what I need, everything wrapped into a tiny console application.

As it might be useful for others too, I decided to extend the app a bit so that it supports multiple images formats. The full project is available on GitHub (licensed under the GNU General Public License): https://github.com/p0sti/IcoConverter

For those that don’t want to compile the project on their own, here is the standalone executable that contains all of the required assemblies:

Sample usage:



Please find the full usage information for the tool below.



Should anyone have a question about usage, found a bug, etc. please drop me a note in the comments below.