| 1 |
\ |
| 2 |
.\" This man page was generated by the Netpbm tool 'makeman' from HTML source. |
| 3 |
.\" Do not hand-hack it! If you have bug fixes or improvements, please find |
| 4 |
.\" the corresponding HTML page on the Netpbm website, generate a patch |
| 5 |
.\" against that, and send it to the Netpbm maintainer. |
| 6 |
.TH "Pgmtopgm User Manual" 1 "September 2002" "netpbm documentation" |
| 7 |
|
| 8 |
.SH NAME |
| 9 |
pgmtopgm - copy PGM image |
| 10 |
|
| 11 |
.UN synopsis |
| 12 |
.SH SYNOPSIS |
| 13 |
|
| 14 |
\fBpgmtopgm\fP |
| 15 |
|
| 16 |
.UN description |
| 17 |
.SH DESCRIPTION |
| 18 |
.PP |
| 19 |
This program is part of |
| 20 |
.BR "Netpbm" (1)\c |
| 21 |
\&. |
| 22 |
.PP |
| 23 |
\fBpgmtopgm\fP simply copies a PGM image from Standard Input to |
| 24 |
Standard Output. This may seem an unnecessary duplication of |
| 25 |
\fBcat\fP, but remember that a PGM program can read a PBM image as |
| 26 |
if it were PGM. So \fBpgmtopgm\fP can read either a PBM or PGM |
| 27 |
image and produce a PGM image as output. |
| 28 |
.PP |
| 29 |
Even that is of limited usefulness because of the fact that almost |
| 30 |
any program to which you would feed the resulting PGM image could also |
| 31 |
just take the original image directly. However, sometimes you really |
| 32 |
need a true PGM image. |
| 33 |
.PP |
| 34 |
When you know you have a PBM image and want a PGM image, |
| 35 |
\fBpbmtopgm\fP is a more general way to do that conversion. |
| 36 |
|
| 37 |
|
| 38 |
.UN options |
| 39 |
.SH OPTIONS |
| 40 |
.PP |
| 41 |
There are no command line options defined specifically |
| 42 |
for \fBpgmtopgm\fP, but it recognizes the options common to all |
| 43 |
programs based on libnetpbm (See |
| 44 |
.UR index.html#commonoptions |
| 45 |
Common Options |
| 46 |
.UE |
| 47 |
\&.) |
| 48 |
|
| 49 |
.UN seealso |
| 50 |
.SH SEE ALSO |
| 51 |
.BR "ppmtoppm" (1)\c |
| 52 |
\&, |
| 53 |
.BR "pamtopam" (1)\c |
| 54 |
\&, |
| 55 |
.BR "pamtopnm" (1)\c |
| 56 |
\&, |
| 57 |
.BR "pbmtopgm" (1)\c |
| 58 |
\&, |
| 59 |
.BR "pbm" (1)\c |
| 60 |
\&, |
| 61 |
.BR "pgm" (1)\c |
| 62 |
\&, |
| 63 |
|
| 64 |
.UN history |
| 65 |
.SH HISTORY |
| 66 |
.PP |
| 67 |
This program was added to Netpbm in Release 10.9 (September 2002). |
| 68 |
.SH DOCUMENT SOURCE |
| 69 |
This manual page was generated by the Netpbm tool 'makeman' from HTML |
| 70 |
source. The master documentation is at |
| 71 |
.IP |
| 72 |
.B http://netpbm.sourceforge.net/doc/pgmtopgm.html |
| 73 |
.PP |