1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
\
.\" 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"
.UN lbAB
.SH NAME
ppmtorgb3 - separate a PPM image into three PGMs
.UN lbAC
.SH SYNOPSIS
\fBppmtorgb3\fP
[\fIppmfile\fP]
.UN lbAD
.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 lbAE
.SH SEE ALSO
.BR "rgb3toppm" (1)\c
\&,
.BR "pamchannel" (1)\c
\&,
.BR "ppmtopgm" (1)\c
\&,
.BR "pgmtoppm" (1)\c
\&,
.BR "ppm" (5)\c
\&,
.BR "pgm" (5)\c
\&
.UN lbAF
.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
|