t@b Icon Ripper (free ico2png) command line utility for windows


this command line utility simply scans a directory for windows icons and saves all icons found as png image files with gradient transparency support. it is a cool (command line) icon to png converter. Png are increasingly popular with web designers as replacements for gif (grafic-interchange-failure) files.

In Practice:

type at the command prompt: tabiripp.exe dirnam outputdir

Remarks:

tabiripp will scan the "dirnam" directory for icons and save the found icons in the "outputdir".

Download:

windows only: t@b_tabiripp_win32.zip

tabirip: copyright (c) 2004, t@b software. written by andy flinn. compression/zlib was written by jean-loup gailly and mark adler. png code in this program from courtesy of http://www.libpng.org jpeg code aquired from the folx at http://www.ijg.org

ico to png forever!

i got the following comment b

i got the following comment by email...

Your Message : hello,

I was searching for a command line tool that could extract icons from icon libraries to a more universal picture format and I found your "t@b Icon Ripper" (tabiripp.exe). Just the thing I was searching for but there are some improvements I would like to see if they are possible at all and if you have the time. Is it possible that the name of the extracted icons can be something like nameOfIconLibrary_indexOfIconInLibrary.png or even nameOfIconLibrary_indexOfIconInLibrary_dimensionOfIcon.png instead of some unsaying number as the icon name.

greetings

PS I had to use this email because the maxsize of the html form element for the email was too short :-)

(signed)

and here's a (first attempt a

and here's a (first attempt at) an answer,

the weird name which you see in the output is actual a SHA-1 hash (checksum) of a 32 bit per pixel representation of the icon bitmap plus mask.

i had to use that in order to avoid redundancies. ie: when scanning a set of folders for icons i receceived countless duplicates. so every discovered icon is "checksummed" and only written to the target directory if it does not exists.

you can, however, achieve more precice results, by specifying explicitly:

tabiripp.exe executablefilename.exe targetdir

this will extract icons only from the specified executable file. if you target directory was empty to start with, then you can tell with certainty that any contained icons must have come from the executable supplied in the tabiripp command.

workable?

proscht countinn

this software is great!

this software is great! it worked first time and did exactly what i wanted it to do!! :-D

i try your tabiripp and i get

i try your tabiripp and i get the convertion wrong. sorry my english. How to get the 256 png convertion???

If you need to convert 32-bit

If you need to convert 32-bit PNG images to palletized mode (8-bit/256 color), then GIMP is likely to do the trick.

I have .ico files with many i

I have .ico files with many icons inside it, with different sizes. Is there a way to extract all them?

Thanks.

this is a great utility, i wo

this is a great utility, i would also howver love it if there was more logic to the naming.. (even if it was an extra option).

i am using it in a project to create a web browser file explorer to allow me access to my computer remotely and securely without VPN etc..

In windows desktop.ini files custom icons are specified in exe's etc with an index, at the moment i have no way of telling which icon goes with which index, the dimensions i can work out but if there was some way to do:
tabiripp.exe icon outputdir (filename)

e.g.
tabiripp.exe someapp.exe c:\output app1
to output files like:

  • c:\output\app1_0.png
  • c:\output\app1_1.png
  • etc...

or even better with the sizes:

  • c:\output\app1_0_16.png
  • c:\output\app1_1_32.png
  • etc...

you could revert to the hashing method should the 3rd variable not be supplied.

Would be fantastic if this were in any way possible,

Many Thanks,