summary refs log tree commit diff
path: root/ppmtoppm.html
blob: 028c1b2df74375e6d48dc83cc695b32cc7f338fa (plain) (blame)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.3//EN">
<html><head><title>Ppmtoppm User Manual</title></head>
<body>
<h1>ppmtoppm</h1>
Updated: February 2007
<br>
<a href="#index">Table Of Contents</a>

<h2>NAME</h2>
ppmtoppm - copy PPM image

<h2 id="synopsis">SYNOPSIS</h2>

<b>ppmtoppm</b>

<h2 id="description">DESCRIPTION</h2>

<p>This program is part of <a href="index.html">Netpbm</a>.

<p><b>ppmtoppm</b> simply copies a PPM image from Standard Input to
Standard Output.  This may seem an unnecessary duplication of
<b>cat</b>, 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
<b>ppmtoppm</b> can read either a PBM, PGM, or PPM image and produce a
PPM image as output.

<p>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.

<p>When you know you have a PGM image and want a PPM image,
<b>pgmtoppm</b> is a more general way to do that conversion.
When you know you have a PBM image, use that and <b>pbmtopgm</b>.

<h2 id="options">OPTIONS</h2>

<p>There are no command line options defined specifically
for <b>ppmtoppm</b>, but it recognizes the options common to all
programs based on libnetpbm (See <a href="index.html#commonoptions">
Common Options</a>.)

<h2 id="seealso">SEE ALSO</h2>

<b><a href="pgmtopgm.html">pgmtopgm</a></b>,
<b><a href="pamtopam.html">pamtopam</a></b>,
<b><a href="pamtopnm.html">pamtopnm</a></b>,
<b><a href="pgmtoppm.html">pgmtoppm</a></b>,
<b><a href="pbmtopgm.html">pbmtopgm</a></b>,
<b><a href="pbm.html">pbm</a></b>,
<b><a href="pgm.html">pgm</a></b>,
<b><a href="ppm.html">ppm</a></b>

<h2 id="history">HISTORY</h2>

<p>This program was added to Netpbm in Release 10.9 (September 2002).

<hr>
<h2 id="index">Table Of Contents</h2>
<ul>
<li><a href="#synopsis">SYNOPSIS</a>
<li><a href="#description">DESCRIPTION</a>
<li><a href="#options">OPTIONS</a>
<li><a href="#seealso">SEE ALSO</a>
<li><a href="#history">HISTORY</a>
</ul>
</body>
</html>