.TL Ppmtorgb3 User Manual .SH 1 ppmtorgb3 .LP Updated: 10 January 1991 .br Table Of Contents .SH 2 NAME .LP ppmtorgb3 - separate a PPM image into three PGMs .SH 2 SYNOPSIS .LP \fBppmtorgb3\fR [\fIppmfile\fR] .SH 2 DESCRIPTION .LP .LP This program is part of Netpbm. .LP \fBppmtorgb3\fR reads a PPM image as input and writes three PGM images as output, one each for red, green, and blue. .LP \fBppmtorgb3\fR constructs the output filenames by taking the input filename, stripping off any extension, and appending \fB.red\fR, \fB.grn\fR, \fB.blu\fR. For example, separating \fBlenna.ppm\fR would result in \fBlenna.red\fR, \fBlenna.grn\fR, and \fBlenna.blu\fR. If the input comes from stdin, the names are \fBnoname.red\fR, \fBnoname.grn\fR, and \fBnoname.blu\fR. .SH 2 SEE ALSO .LP rgb3toppm, pamchannel, ppmtopgm, pgmtoppm, ppm, pgm .SH 2 AUTHOR .LP Copyright (C) 1991 by Jef Poskanzer. .br \l'5i' .SH 2 Table Of Contents .LP .IP \(bu NAME .IP \(bu SYNOPSIS .IP \(bu DESCRIPTION .IP \(bu SEE ALSO .IP \(bu AUTHOR .LP