.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. Pamtowinicon User Manual - Online Linux Manual PageSection : 0
Updated : 12 April 2013
Source : netpbm documentation
NAMEpamtowinicon - convert Netpbm PAM images to a Microsoft Windows icon file .UN synopsis
SYNOPSISpamtowinicon [-pngthreshold=threshold] [-truetransparent] [-verbose] [pam_file] All options can be abbreviated to their shortest unique prefix. You may use two hyphens instead of one to designate an option. You may use either white space or equals signs between an option name and its value. .UN description
DESCRIPTIONThis program is part of Netpbm(1). pamtowinicon reads an RGB_ALPHA Netpbm PAM file and converts it to a Microsoft Windows icon file. The output goes to Standard Output. The input is a multi-image PAM file; each image becomes an icon in the output file. If you have input images in multiple files, you can simply combine them with cat and pass the result to pamtowinicon. .UN options
OPTIONSIn addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options ), pamtowinicon recognizes the following command line options: -pngthreshold=threshold pamtowinicon encodes images with resolutions above or equal threshold by threshold as PNG by running pnmtopng(1). Other images it encodes using the more traditional BMP format. When the program uses PNG encoding for a 5-channel PAM with separate AND mask (see below), it discards the AND mask. Because PNG has always had the ability to specify transparency, the Windows icon format does not provide for a separate and mask when the icon is encoded in PNG. The default value for threshold is 128. -truetransparent Make all pixels outside the opaque area black, avoiding inversion and other effects on the background of the image (see Windows Icons(1)). -verbose Print more messages .UN images
IMAGESpamtowinicon reads a (multi-image) Netpbm PAM file as input and outputs an single Windows icon file containing those images. The images in the icon file are in the same order as in the PAM input. .UN paminput
PAM Inputpamtowinicon interprets the PAM images as follows, based on the number of channels. channelsimage 1fully opaque grayscale image 2grayscale image with transparency channel 3fully opaque color image 4color image with transparency channel 5color image with transparency channel and additional AND mask The tuple types of the PAMs are irrelevant. .UN andmask
AND MaskThe so-called "AND mask" is a special feature of Microsoft Windows icons. It is required for all BMP encoded images. At the first sight, the AND mask is a 1-bit transparency channel, but it is also used for e.g. shading the icon while dragging. See Windows Icons(1) for details. If there is no explicit AND mask, but transparency data in the input image, pamtowinicon sets the AND mask to opaque where the sample in the transparency channel is below maxval, and to transparent elsewhere. If no transparency data is present in the input image, pamtowinicon assumes the whole image to be fully opaque. .UN bmpoutput
BMP OutputWhen BMP encoding an image, pamtowinicon tries to use the most compact BI_RGB format allowed for icon images with a color depth of eight bits per channel. pamtowinicon generates neither 16-bit BI_RGB nor BI_BITFIELDS BMP encoded images, even if the maxval of the input PAM is not 255. .UN seealso
SEE ALSO• winicontopam(1) • ppmtowinicon(1) • pam(1) • Windows Icons(1) For information on the PNG format, see http://schaik.com/png . .UN history
HISTORYpamtowinicon was new in Netpbm 10.63 (June 2013). It obsoleted ppmtowinicon by providing more function and conforming better to Netpbm conventions. .UN author
AUTHORCopyright (C) 2013 by Ludolf Holzheid. Translated to Netpbm coding style by Bryan Henderson.
DOCUMENT SOURCEThis manual page was generated by the Netpbm tool 'makeman' from HTML source. The master documentation is at http://netpbm.sourceforge.net/doc/pamtowinicon.html 0
Johanes Gumabo
Data Size : 17,479 byte
man-pamtowinicon.1Build : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 258,372
Visitor ID : :
Visitor IP : 18.119.158.142 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (rof_escape_sequence|91|pamtowinicon.1|1/2|\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
) (parse_manual_page_|252|pamtowinicon.1|1/2|\"|.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
) (parse_manual_page_|252|pamtowinicon.1|12|UN|.UN synopsis
) (parse_manual_page_|252|pamtowinicon.1|26|UN|.UN description
) (parse_manual_page_|252|pamtowinicon.1|43|UN|.UN options
) (parse_manual_page_|252|pamtowinicon.1|85|UN|.UN images
) (parse_manual_page_|252|pamtowinicon.1|94|UN|.UN paminput
) (parse_manual_page_|252|pamtowinicon.1|115|UN|.UN andmask
) (parse_manual_page_|252|pamtowinicon.1|134|UN|.UN bmpoutput
) (parse_manual_page_|252|pamtowinicon.1|146|UN|.UN seealso
) (parse_manual_page_|252|pamtowinicon.1|175|UN|.UN history
) (parse_manual_page_|252|pamtowinicon.1|183|UN|.UN author
)