PNGTOPNM(1)

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

πŸ’– NAME πŸ’–

pngtopnm β€” convert a PNG image to PNM: replaced by pngtopam

So real talk, bestie: this is a page from the Pngtopnm User Manual, living in the General Commands Manual section. And yeah, the name already spoils it: this one's been replaced. More on that in a sec. 🫢


✨ SYNOPSIS ✨

pngtopnm [-verbose] [-alpha | -mix] [-background=color] [-gamma=value]
[-text=filename] [-time] [pngfile]

Okay so before you type anything, three little luxuries you get to enjoy here:

  • The minimum unique abbreviation of any option is acceptable β€” no need to spell the whole thing out, just enough letters that it can't be confused with anything else. πŸ’…
  • You may use double hyphens instead of a single hyphen to denote options.
  • You may use white space in place of the equals sign to separate an option name from its value.

🌸 DESCRIPTION 🌸

This program is part of Netpbm(1). 🧚

pngtopnm was obsoleted by pngtopam(1), which showed up with Netpbm 10.44 (September 2008). And not to be dramatic but pngtopam ate: it's backward compatible with pngtopnm, plus it adds a whole bunch of extra functions, including the ability to produce a PAM image that includes a transparency (alpha) channel. Obsessed. ✨

Starting in Release 10.48, pngtopnm is just an alias for pngtopam. Periodt.

So why did it stick around at all? Glad you asked. pngtopnm remained in the Netpbm package through Release 10.47 because it may have fewer bugs than pngtopam in those releases, and may be faster in some environments. But here's the sad part 😭 β€” pngtopnm's incompatibility with the most current PNG libraries makes it impractical to maintain along with pngtopam now.

In releases before 10.48, you can use the pngtopam documentation for pngtopnm, considering the following differences:
  • pngtopnm options are a subset of pngtopam's, as documented above. πŸ‘†
  • Any change that the pngtopam manual says happened in or after Netpbm 10.44 doesn't apply to pngtopnm.

πŸ“œ 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/pngtopnm.html

netpbm documentation 🌈 and the date on this whole vibe is 22 July 2008 β€” that's the source/version and date, bestie, mwah πŸ’‹. Go use pngtopam, iykyk. πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from