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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
\
.\" 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 "Ppmtoppm User Manual" 0 "February 2007" "netpbm documentation"
.SH NAME
ppmtoppm - copy PPM image
.UN synopsis
.SH SYNOPSIS
\fBppmtoppm\fP
.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBppmtoppm\fP simply copies a PPM image from Standard Input to
Standard Output. This may seem an unnecessary duplication of
\fBcat\fP, but remember that a PPM program can read a PBM or PGM
image, and the right kind of PAM, as if it were PPM. So
\fBppmtoppm\fP can read either a PBM, PGM, or PPM image and produce a
PPM image as output.
.PP
Even that is of limited usefulness because of the fact that almost
any program to which you would feed the resulting PPM image could also
just take the original image directly. However, sometimes you really
need a true PPM image.
.PP
When you know you have a PGM image and want a PPM image,
\fBpgmtoppm\fP is a more general way to do that conversion.
When you know you have a PBM image, use that and \fBpbmtopgm\fP.
.UN options
.SH OPTIONS
.PP
There are no command line options defined specifically
for \fBppmtoppm\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 "pgmtopgm" (1)\c
\&,
.BR "pamtopam" (1)\c
\&,
.BR "pamtopnm" (1)\c
\&,
.BR "pgmtoppm" (1)\c
\&,
.BR "pbmtopgm" (1)\c
\&,
.BR "pbm" (5)\c
\&,
.BR "pgm" (5)\c
\&,
.BR "ppm" (5)\c
\&
.UN history
.SH HISTORY
.PP
This program was added to Netpbm in Release 10.9 (September 2002).
.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/ppmtoppm.html
.PP
|