\ .\" 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" (5)\c \&, .BR "pgm" (5)\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