\ .\" 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) . .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 seealso .SH SEE ALSO .BR ppmtoppm (1) , .BR pamtopam (1) , .BR pamtopnm (1) , .BR pbmtopgm (1) , .BR pbm (5) , .BR pgm (5) , .UN history .SH HISTORY .PP This program was added to Netpbm in Release 10.9 (September 2002).