\ .\" This man page was generated by the Netpbm tool 'makeman' from HTML source. .\" Do not hand-hack it! If you have bug fixes or improvements, please find .\" the corresponding HTML page on the Netpbm website, generate a patch .\" against that, and send it to the Netpbm maintainer. .TH "Winicontoppm User Manual" 1 "23 March 2003" "netpbm documentation" .SH NAME winicontoppm - convert a Windows .ico image into 1 or more PPM images .UN synopsis .SH SYNOPSIS \fBwinicontoppm\fP [\fB-writeands\fP] [\fB-allicons\fP|\fB-bestqual\fP] [\fB-multippm\fP] [\fB-verbose\fP] [\fIiconfile\fP] [\fIppmdestfile\fP] .UN description .SH DESCRIPTION .PP This program is part of .BR "Netpbm" (1)\c \&. .PP This program is essentially obsolete; The newer \fBwinicontopam\fP is better. .PP \fBwinicontoppm\fP reads a Microsoft Windows .ico file and converts it to one or more PPMs. .PP A Windows icon contains one or more images, at different resolutions and color depths. Each image has an 'and' mask, which contains transparency data. .PP By default, the output goes to Standard Output. If you specify \fIppmdestfile\fP, output goes into one or more files named as follows. If it's just one file (i.e. you specify the \fB-multippm\fP option or don't specify \fB-allicons\fP), the file name is \fIppmdestfile\fP\fB.ppm\fP. If it's multiple files, their file names are \fIppmdestfile\fP\fB_1.ppm\fP, \fIppmdestfile\fP\fB_2.ppm\fP, etc. .PP When you specify the \fB-writeands\fP option, the file names above are modified to include the string \fBxor\fP as in \fIppmdestfile\fP\fB_xor.ppm\fP or \fIppmdestfile\fP\fB_xor_1.ppm\fP. .PP \fBwinicontoppm\fP can convert .ico images with 1, 4, 8, 24, or 32 bits per pixel. Before Netpbm 10.15 (April 2003), it could not handle 24 and 32. .UN options .SH OPTIONS .PP In addition to the options common to all programs based on libnetpbm (most notably \fB-quiet\fP, see .UR index.html#commonoptions Common Options .UE \&), \fBwinicontoppm\fP recognizes the following command line options: .TP \fB-writeands\fP For each icon written, also write the 'and' (transparency) mask as a separate PBM file. It's name is of the form \fIppmdestfile\fP\fB_and.pbm\fP or \fIppmdestfile\fP\fB_and_1.pbm\fP. .TP \fB-allicons\fP Extract all images from the .ico file. .sp If you specify neither this nor \fB-bestqual\fP, \fBwinicontoppm\fP extracts the first image. .TP \fB-bestqual\fP Extract only the best quality (largest, then highest bpp) image from the .ico file. .sp If you specify neither this nor \fB-allicons\fP, \fBwinicontoppm\fP extracts the first image. .TP \fB-multippm\fP Write all PPMs to a single file. .UN seealso .SH SEE ALSO .BR "winicontopam" (1)\c \&, .BR "pamtowinicon" (1)\c \&, .BR "bmptopnm" (1)\c \&, .BR "ppm" (1)\c \& .UN author .SH AUTHOR Copyright (C) 2000, 2003 by Lee Benfield. .SH DOCUMENT SOURCE This manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at .IP .B http://netpbm.sourceforge.net/doc/winicontoppm.html .PP