PPMTORGB3(1)
π ppmtorgb3 β Ppmtorgb3 User Manual π
okay bestie, welcome to the Ppmtorgb3 User Manual (section 1, General Commands Manual, she's a whole icon). this is the lil tool that takes one PPM pic and splits it into three separate PGMs β one for red, one for green, one for blue. rgb girlies, this one's for you π
β¨ NAME β¨
ppmtorgb3 β separate a PPM image into three PGMs
πΈ SYNOPSIS πΈ
ppmtorgb3
[ppmfile]
π¦ DESCRIPTION π¦
so this program is part of Netpbm(1) β you know, the family. she's one of the siblings π
ppmtorgb3 reads a PPM image as input and writes three PGM images as output β one each for red, green, and blue. three outputs, one input, it's giving overachiever and we love that for her. π
now the filename situation, because this is the part everyone asks about: ppmtorgb3 constructs the output filenames by taking the input filename, stripping off any extension, and appending .red, .grn, and .blu. that's it, that's the whole recipe, no cap π
so like, separating lenna.ppm would result in lenna.red, lenna.grn, and lenna.blu. cute, right?
and if the input comes from stdin, the names become noname.red, noname.grn, and noname.blu. she said "no name? okay bet, you're noname now" π
π OPTIONS π
there are no command line options defined specifically for ppmtorgb3, so don't go looking for hidden flags, bestie β she keeps it simple π
that said, she does recognize the options common to all programs based on libnetpbm (See Common Options.) β¨
π SEE ALSO π
rgb3toppm(1)pamchannel(1)ppmtopgm(1)pgmtoppm(1)ppm(1)pgm(1)
π«Ά AUTHOR π«Ά
Copyright (C) 1991 by Jef Poskanzer.
π 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/ppmtorgb3.html
okay that's the whole page, you ate that π this was netpbm documentation, dated 10 January 1991, and yes she's still serving β the Ppmtorgb3 User Manual(1), signing off. periodt. π
π¦ 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