1Pgmtopgm User Manual(0) Pgmtopgm User Manual(0)
2
3
4
6 pgmtopgm - copy PGM image
7
8
10 pgmtopgm
11
12
14 This program is part of Netpbm(1).
15
16 pgmtopgm simply copies a PGM image from Standard Input to Standard Out‐
17 put. This may seem an unnecessary duplication of cat, but remember
18 that a PGM program can read a PBM image as if it were PGM. So pgmtopgm
19 can read either a PBM or PGM image and produce a PGM image as output.
20
21 Even that is of limited usefulness because of the fact that almost any
22 program to which you would feed the resulting PGM image could also just
23 take the original image directly. However, sometimes you really need a
24 true PGM image.
25
26 When you know you have a PBM image and want a PGM image, pbmtopgm is a
27 more general way to do that conversion.
28
29
30
32 There are no command line options defined specifically for pgmtopgm,
33 but it recognizes the options common to all programs based on libnetpbm
34 (See
35 Common Options ⟨index.html#commonoptions⟩ .)
36
37
39 ppmtoppm(1), pamtopam(1), pamtopnm(1), pbmtopgm(1), pbm(1), pgm(1),
40
41
43 This program was added to Netpbm in Release 10.9 (September 2002).
44
46 This manual page was generated by the Netpbm tool 'makeman' from HTML
47 source. The master documentation is at
48
49 http://netpbm.sourceforge.net/doc/pgmtopgm.html
50
51netpbm documentation September 2002 Pgmtopgm User Manual(0)