\
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source.
.\" Do not hand-hack it!  If you have bug fixes or improvements, please find
.\" the corresponding HTML page on the Netpbm website, generate a patch
.\" against that, and send it to the Netpbm maintainer.
.TH "Ppmtorgb3 User Manual" 0 "10 January 1991" "netpbm documentation"

.SH NAME

ppmtorgb3 - separate a PPM image into three PGMs

.UN synopsis
.SH SYNOPSIS

\fBppmtorgb3\fP

[\fIppmfile\fP]

.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBppmtorgb3\fP reads a PPM image as input and writes three PGM
images as output, one each for red, green, and blue.
.PP
\fBppmtorgb3\fP constructs the output filenames by taking the
input filename, stripping off any extension, and appending
\fB.red\fP, \fB.grn\fP, \fB.blu\fP.  For example, separating
\fBlenna.ppm\fP would result in \fBlenna.red\fP, \fBlenna.grn\fP,
and \fBlenna.blu\fP.  If the input comes from stdin, the names are
\fBnoname.red\fP, \fBnoname.grn\fP, and \fBnoname.blu\fP.

.UN options
.SH OPTIONS
.PP
There are no command line options defined specifically
for \fBppmtorgb3\fP, but it recognizes the options common to all
programs based on libnetpbm (See 
.UR index.html#commonoptions
 Common Options
.UE
\&.)

.UN seealso
.SH SEE ALSO
.BR "rgb3toppm" (1)\c
\&, 
.BR "pamchannel" (1)\c
\&, 
.BR "ppmtopgm" (1)\c
\&, 
.BR "pgmtoppm" (1)\c
\&, 
.BR "ppm" (1)\c
\&, 
.BR "pgm" (1)\c
\&

.UN author
.SH AUTHOR

Copyright (C) 1991 by Jef Poskanzer.
.SH DOCUMENT SOURCE
This manual page was generated by the Netpbm tool 'makeman' from HTML
source.  The master documentation is at
.IP
.B http://netpbm.sourceforge.net/doc/ppmtorgb3.html
.PP