pgmtopgm
Updated: September 2002
Table Of Contents
NAME
pgmtopgm - copy PGM image
SYNOPSIS
pgmtopgm
DESCRIPTION
This program is part of Netpbm.
pgmtopgm simply copies a PGM image from Standard Input to
Standard Output.
This may seem an unnecessary duplication of cat, but remember
that a PGM
program can read a PBM image as if it were PGM. So pgmtopgm
can read either
a PBM or PGM image and produce a PGM image as output.
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.
When you know you have a PBM image and want a PGM image, pbm-
topgm is a more
general way to do that conversion.
SEE ALSO
ppmtoppm, pnmtopnm, pamtopnm, pbmtopgm, pgm, pgm,
HISTORY
This program was added to Netpbm in Release 10.9 (September
2002).
_________________________________________________________________
Table Of Contents
* NAME
* SYNOPSIS
* DESCRIPTION
* SEE ALSO
* HISTORY
UNIX/Linux commands referenced on this page:
- cat
- as
- which
- true
- ppmtoppm
- pnmtopnm
- pamtopnm
- pbmtopgm