PNMTORAST(1)

πŸ“¦
version 11.13.03 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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 in RT_STANDARD form. she said "we're doing it the classic way" πŸ’…
  • -rle β€” forces the result to be in RT_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