PNMTORAST(1)
β¨ PNMTORAST(1) β¨
okay bestie, gather round, because we're about to make a Sun rasterfile and honestly? it's giving glow-up energy π
πΈ NAME πΈ
pnmtorast β convert a PPM into a Sun rasterfile π¦
π SYNOPSIS π
pnmtorast [-standard|-rle] [pnmfile]
π DESCRIPTION π
so first things first: this program is part of Netpbm(1). family reunion vibes π
pnmtorast reads a PPM image as input and produces a Sun rasterfile as output. that's the whole gig. she's a converter, she's an icon, she's booked and busy β¨
now here's the important tea π« β color values in Sun rasterfiles are eight bits wide, so pnmtorast will automatically scale colors to have a maxval of 255. no cap, she does it for you. that means an extra pamdepth step is not necessary β don't do extra work for no reason, that's not the vibe π
β¨ OPTIONS β¨
in addition to the options common to all programs based on libnetpbm (most notably -quiet, see Common Options), pnmtorast recognizes the following command line options:
lowkey handy: all options can be abbreviated to their shortest unique prefix π
-standardβ forces the result to be inRT_STANDARDform. she said "we're doing it the classic way" π-rleβ forces the result to be inRT_BYTE_ENCODED, which is smaller but, well, less standard π
the default is -rle. periodt.
π₯ SEE ALSO π₯
rasttopnm(1) β the reverse girlypop, go say hi πpnm(1)
π AUTHOR π
Copyright (C) 1989, 1991 by Jef Poskanzer. legend behavior fr fr π«Ά
π 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/pnmtorast.html
okay that's the whole page, you ate that π β¨ this was netpbm documentation, dated 12 January 1991 β yes, she's been iconic since 1991, main character energy since day one ππ byeee π¦
π¦ 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