WINICONTOPPM(1)
π winicontoppm β the user manual π
okay so bestie, welcome to the Winicontoppm User Manual, straight out of the General Commands Manual section π. Sit down, grab a boba, and let's get into it π
β¨ NAME β¨
winicontoppm β the way that this converts a Windows .ico image into 1 or more PPM images π¦ (yes, one or more, she's flexible like that)
πΈ SYNOPSIS πΈ
winicontoppm [-writeands] [-allicons|-bestqual] [-multippm] [-verbose]
[iconfile] [ppmdestfile]
literally the whole thing, no cap β¨
π DESCRIPTION π
This program is part of Netpbm(1). π
ngl, this program is essentially obsolete β the newer winicontopam is better. she's serving legacy realness and we respect her for it π but like, the newer one is the moment.
So what does she do? winicontoppm reads a Microsoft Windows .ico file and converts it to one or more PPMs. periodt π₯
A Windows icon contains one or more images, at different resolutions and color depths. And the way that each image has an 'and' mask, which contains transparency data? iconic. every single one. π
By default, the output goes to Standard Output. But if you specify ppmdestfile, output goes into one or more files named as follows β ok pay attention bestie, this naming scheme is lowkey important:
- If it's just one file (i.e. you specify the
-multippmoption or don't specify-allicons), the file name isppmdestfile.ppm. - If it's multiple files, their file names are
ppmdestfile_1.ppm,ppmdestfile_2.ppm, etc.
When you specify the -writeands option, the file names above are modified to include the string xor, as in ppmdestfile_xor.ppm or ppmdestfile_xor_1.ppm. π«
winicontoppm 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 β like, those were the dark ages fr fr π
β OPTIONS β
In addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), winicontoppm recognizes the following command line options. like, she's got range π«Ά
-writeandsβ For each icon written, also write the'and'(transparency) mask as a separate PBM file. It's name is of the formppmdestfile_and.pbmorppmdestfile_and_1.pbm. π-alliconsβ Extract all images from the.icofile. the full collection, every single one, no gatekeeping π
If you specify neither this nor -bestqual, winicontoppm extracts the first image.
-bestqualβ Extract only the best quality (largest, then highest bpp) image from the.icofile. she's picking the main character and honestly? valid π
If you specify neither this nor -allicons, winicontoppm extracts the first image.
-multippmβ Write all PPMs to a single file. one file, all the vibes, efficiency slay β¨
π¦ SEE ALSO π¦
winicontopam(1), pamtowinicon(1), bmptopnm(1), ppm(1)
go read those too bestie, the lore is deep π
π AUTHOR π
Copyright (C) 2000, 2003 by Lee Benfield.
shoutout to Lee, an absolute icon π
π 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/winicontoppm.html
ok that's the whole page, no skips, no summaries, everything's in there π― iykyk
and that's a wrap babes πΈ this was netpbm documentation, from back on 23 March 2003, filed under the Winicontoppm User Manual(1) β she's vintage, she's iconic, she ATE. mwah π πβ¨
π¦ where this page comes from
- debian trixie: netpbm 2:11.10.02-1 Β· MIT
- ubuntu noble: netpbm 2:11.05.02-1.1build1 Β· 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