Section: User Commands (1)
Updated: 22 May 2000
Return to Main Contents
winicontoppm - convert a Windows .ico file into 1 or more portable pixmap
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.
Write all ppms to a single file.
Copyright (C) 2000, 2003 by Lee Benfield.
- SEE ALSO
This document was created by
using the manual pages.
Time: 05:41:56 GMT, January 24, 2018