Table of Contents

Name

winicontoppm - convert a Windows .ico file into 1 or more portable pixmap files

Synopsis

winicontoppm [-writeands] [-allicons|-bestqual] [-multippm] [-verbose] [iconfile] [ppmdestfile]

Description

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 data.

Default I/O is STDIN/STDOUT.

Options

-writeands
For each icon written, also write the 'and' (transparancy) mask as a seperate ppm.
-allicons
Extract all images from the .ico file.
-bestqual
Extract only the best quality (largest, then highest bpp) image from the .ico file.
-multippm
Write all ppms to a single file.

See Also

ppmtowinicon(1) , ppm(5)

Author

Copyright (C) 2000 by Lee Benfield.


Table of Contents