PPMTORGB3(1)

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

πŸ’– 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 πŸ’œ


🫢 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