SYNOPSISvtopgm [-option ...] [infile] [outfile]
DESCRIPTIONvtopgm converts one band of an image to a portable graymap (PGM) file. A wide range of filters are available to convert PGM files to other formats.
This program only produces portable graymaps whose pixel values are in the range 0 to 255. Any type of Vista image is accepted, but the image is first converted to have ubyte pixels if necessary. This conversion is performed by VConvertImageRange(3Vi).
COMMAND LINE OPTIONSvtopgm accepts the following options:
- Prints a message describing options.
- -in infile
- Specifies a Vista data file containing the image to be converted. If the file contains more than one image, only the first is used.
- -out outfile
- Specifies the file to contain the portable graymap.
- -band band
- Specifies the image band to be converted. Default: 0.
Input and output files can be specified on the command line or allowed to default to the standard input and output streams.
AUTHORDavid Lowe <[email protected]>