WINICONTOPAM(1)
π winicontopam β the Winicontopam User Manual, but make it a vibe π
okay bestie, welcome to the winicontopam(1) glow-up. this is a General Commands Manual page, part of the Netpbm family, and it's literally about turning Windows icon files into PAM images. iconic behavior. let's get into it π
β¨ NAME β¨
winicontopam β convert a Microsoft Windows icon file into a Netpbm PAM file π¦
π SYNOPSIS π
winicontopam [-image=index | -allimages] [-andmasks] [-verbose]
[icon_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. π (yes, it's flexible like that, we love a low-maintenance flag)
π DESCRIPTION π
This program is part of Netpbm(1). π«Ά
winicontopam reads a Microsoft Windows icon file and converts it to one or more RGB_ALPHA Netpbm PAM images. that's the whole job. she's a converter. she converts. main character energy fr fr.
okay so, transparency lore time π: there are two kinds of transparency information a Windows icon can have β the and mask and the graded transparency map.
- the and mask is the older one, and it just says, per pixel, whether that pixel is fully opaque or fully transparent. no in-between. binary queen.
- the graded transparency map can do translucent values too. she's nuanced. she's got range. she shows up in an icon that uses PNG encoding, or uses BMP encoding with 32 bits per pixel.
The transparency plane in the PAM output of winicontopam comes from:
- the graded transparency map if it exists, and
- the and mask otherwise.
An icon may actually have both forms of transparency information. π See -andmasks.
The output goes to Standard Output. π€
The output is a multi-image PAM file. If you want a separate file for each image, use pamsplit(1). no cap.
π OPTIONS π
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), winicontopam recognizes the following command line options:
-allimagesβ Convert all images in the input. ποΈ
You may not specify this together with -image.
By default, winicontopam converts only the one "best quality" image (largest, then most bits per pixel). she's picking the baddest one automatically, periodt.
-image=index β Convert image number index (starting with zero). π’
You may not specify this together with -allimages.
By default, winicontopam converts the "best quality" image (largest, then most bits per pixel).
-andmasksβ If the image to be extracted contains both graded transparency data and an AND mask, produce five-channel Netpbm PAM images with the AND mask as the fifth plane. ποΈ
heads up: an image that formally has graded transparency data, but that data indicates nothing but opaque pixels, is considered not to have graded transparency data β so -andmasks would have no effect on it. it's giving "technically has it but doesn't count". π
-verboseβ Print more messages. π£οΈ she gets chatty. we support her.
π SEE ALSO π
For information on the PNG format, see http://schaik.com/png . π
π HISTORY π
winicontopam was new in Netpbm 10.63 (June 2013). β
It obsoleted winicontoppm by providing more function and conforming better to Netpbm conventions. rest in peace to the old one, she served, but the new one ate ππ₯
π AUTHOR π
Copyright (C) 2013 by Ludolf Holzheid.
Translated to Netpbm coding style by Bryan Henderson.
π§ DOCUMENT SOURCE π§
This manual page was generated by the Netpbm tool makeman from HTML source. The master documentation is at
http://netpbm.sourceforge.net/doc/winicontopam.html
and that's the whole page bestie, you're officially fluent in winicontopam πΈπ this absolute gem of a manual page came to you from the netpbm documentation, dated 29 August 2020 β mwah, slay, go convert some icons πβ¨π¦
π¦ where this page comes from
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu resolute: netpbm 2:11.10.02-1build1 Β· MIT
- ubuntu stonking: netpbm 2:11.13.03+ds-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms