summaryrefslogtreecommitdiffstats
path: root/upstream/fedora-40/man1/pgmtopgm.1
blob: 34711083455466140da6b9f639c0ef00252d312e (plain)
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
\
.\" 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 "Pgmtopgm User Manual" 0 "September 2002" "netpbm documentation"

.SH NAME
pgmtopgm - copy PGM image

.UN synopsis
.SH SYNOPSIS

\fBpgmtopgm\fP

.UN description
.SH DESCRIPTION
.PP
This program is part of
.BR "Netpbm" (1)\c
\&.
.PP
\fBpgmtopgm\fP simply copies a PGM image from Standard Input to
Standard Output.  This may seem an unnecessary duplication of
\fBcat\fP, but remember that a PGM program can read a PBM image as
if it were PGM.  So \fBpgmtopgm\fP can read either a PBM or PGM
image and produce a PGM 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 PGM image could also
just take the original image directly.  However, sometimes you really
need a true PGM image.
.PP
When you know you have a PBM image and want a PGM image,
\fBpbmtopgm\fP is a more general way to do that conversion.


.UN options
.SH OPTIONS
.PP
There are no command line options defined specifically
for \fBpgmtopgm\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 "ppmtoppm" (1)\c
\&,
.BR "pamtopam" (1)\c
\&,
.BR "pamtopnm" (1)\c
\&,
.BR "pbmtopgm" (1)\c
\&,
.BR "pbm" (1)\c
\&,
.BR "pgm" (1)\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/pgmtopgm.html
.PP