SUNICONTOPNM(1)
π SUNICONTOPNM π
okay so bestie, welcome to the sunicontopnm(1) manual page, general commands section, and trust me you're gonna want to sit down for this one because we're about to turn a whole Sun icon into a Netpbm image and it's giving β¨main character energyβ¨
πΈ NAME πΈ
sunicontopnm β convert a Sun icon into a Netpbm image π
π SYNOPSIS π
sunicontopnm [iconfile]
π¦ DESCRIPTION π¦
So this little program? It's part of Netpbm(1). Family business, we love to see it π«Ά
sunicontopnm reads a Sun icon as its input, and produces a PBM or PGM image as output. That's the whole vibe, that's the job, no cap.
Now here's the tea on which one you get:
- If the input is of the Depth=8 variety, your output is PGM π
- Otherwise? It's PBM π
And before Netpbm 10.53 (that's December 2010, mark the calendar), the program straight up would not work on a Depth=8 icon. She was not built for that era, okay? π
And what if the input is color?? Wellβ¦ the output is still PGM π The program literally can't do any better because the developers haven't figured out how. Not me being honest about the roadmap. But listen β if you happen to know the palette used by the Sun icon image, you can use pamlookup to convert that PGM output into the proper color Netpbm image. iykyk β¨
β¨ OPTIONS β¨
Okay so here's the thing: there are no command line options defined specifically for sunicontopnm. None. Zero. She's low-maintenance like that π
But β and this is important β she does recognize the options common to all programs based on libnetpbm. (See Common Options.) So the classics are all still there, bestie π
π ABOUT SUN ICONS π
History lesson time, get comfy π§
It seems that this icon format was used in Sunview, and was usable in its successor Openlook/Openwindows in Sun 4.1.1 β which offered backward compatibility for Sunview, including the icons. Iconic behavior, honestly π
The Sunview desktop was monochrome π. OpenWindows had color icons π. And Sun 4 came with OpenWindows. OpenWindows appears to have been an X-based gui, so presumably the icons were mostly XPM files. Makes sense, we move.
So here's the practical advice: in addition to sunicontopnm, you should also try xpmtoppm and xbmtopbm on icons from a Sun Workstation. Multiple tools, multiple angles, we stay thorough π
π SEE ALSO π
pbmtosunicon(1)winicontoppm(1)xpmtoppm(1)xbmtopbm(1)infotopam(1)pbm(1)pgm(1)
π HISTORY π
Jef Poskanzer wrote the program under the name icontopbm in 1988. A legend, fr fr π«Ά
In October 2010, Prophet Of The Way (afu@wta.att.ne.jp) converted it to use the more recent "packed PBM" library functions, thus speeding it up ποΈβ¨
Netpbm 10.53 (December 2010) renamed the program to sunicontopnm. Why? Because this name reflects the fact that there are lots of kinds of icons in the world besides the Sun variety β Windows ones being most popular π β and it also takes into account the new Depth=8 capability (see below).
Also in Netpbm 10.53 (December 2010): it added the ability to work with Depth=8 icon input and input with 32 bit "items." Whereas the previous program always produced PBM output, the new program produced PGM in the Depth=8 case. Glow up, honestly π
π 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/sunicontopnm.html
okay that's the whole page bestie, you're officially educated ππ go forth and convert some Sun icons, slay, periodt π
netpbm documentation Β· 23 October 2010 Β· Sunicontopnm User Manual(1) β mwah, thanks for reading, ily, bye ππ¦β¨
π¦ where this page comes from
- debian bookworm: netpbm 2:11.01.00-2 Β· MIT
- 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