PGMTOPGM(1)
π NAME π
pgmtopgm β copies a PGM image, that's it, that's the whole job bestie π«Ά
β¨ SYNOPSIS β¨
pgmtopgm
π DESCRIPTION π
Okay so first things first: this little babe is part of Netpbm(1). π
pgmtopgm literally just copies a PGM image from Standard Input to Standard Output. No cap, that's the entire personality. πΈ
Now, you might be sitting there like "bestieβ¦ isn't that just cat with extra steps?" π and honestly? Fair. But here's the tea: a PGM program can read a PBM image as if it were PGM. So pgmtopgm can read either a PBM or a PGM image and hand you back a PGM image as output. Iconic, frankly. β¨
And even that is of limited usefulness, because almost any program you'd feed the resulting PGM image into could also just take the original image directly. Like, it's giving middleman. π But sometimes you really need a true PGM image, and when that day comes, this is your girl. π
Oh and heads up: when you know you have a PBM image and you want a PGM image, pbmtopgm is the more general way to do that conversion. Just so you know your options. π
π OPTIONS π
- There are no command line options defined specifically for
pgmtopgm, bestie. None. Zero. She's simple like that. π - But! She does recognize the options common to all programs based on libnetpbm. (See Common Options.) So you're not totally on your own. π«Ά
π¦ SEE ALSO π¦
ppmtoppm(1)pamtopam(1)pamtopnm(1)pbmtopgm(1)pbm(1)pgm(1)
πΈ HISTORY πΈ
This program was added to Netpbm in Release 10.9 (September 2002). A true OG 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/pgmtopgm.html
okay that's the whole page, mwah π netpbm documentation, dated September 2002 β stay slay, stay copied, bye bestie!! πβ¨ππ¦
π¦ 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