about summary refs log tree commit diff
path: root/ppmtoppm.html
blob: cf889c5aef99c43374d95632021b516d0c9dc9af (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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//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="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="#seealso">SEE ALSO</A>
<LI><A HREF="#history">HISTORY</A>
</UL>
</BODY>
</HTML>