ppmtorgb3 man page

ppmtorgb3 — separate a PPM image into three PGMs





This program is part of Netpbm(1).

ppmtorgb3 reads a PPM image as input and writes three PGM images as output, one each for red, green, and blue.

ppmtorgb3 constructs the output filenames by taking the input filename, stripping off any extension, and appending .red, .grn, .blu.  For example, separating lenna.ppm would result in lenna.red, lenna.grn, and lenna.blu.  If the input comes from stdin, the names are noname.red, noname.grn, and noname.blu.

See Also

rgb3toppm(1), pamchannel(1), ppmtopgm(1), pgmtoppm(1), ppm(1), pgm(1)


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


Referenced By

pgmtoppm(1), ppmtopgm(1), rgb3toppm(1).

10 January 1991 netpbm documentation