Reads a Microsoft Windows .ico file, converts it to one or more ppms.
A Windows icon contains 1 or more images, at different resolutions
and color depths. Each image has an 'and' mask, which contains transparancy
By default, the output goes to Standard Output. If you specify
output goes into one or more files named as follows. If it's just one
file (i.e. you specify the
option or don't specify
the file specification is
If it's multiple files, their file specifications are
When you specify the
option, the filenames above are modified to include the string
can convert images with 1, 4, 8, 24 or 32 bits per pixel (bpp).
For each icon written, also write the 'and' (transparancy) mask as a
seperate PBM file. It's name is of the form
Extract all images from the .ico file.
Extract only the best quality (largest, then highest bpp) image from the .ico file.