MAN page from Fedora 11 libtiff-3.8.2-15.fc11.x86_64.rpm
PPM2TIFF
Section: User Commands (1)
Updated: March 1, 2006
Index NAME
ppm2tiff - create a
TIFFfile from
PPM, PGMand
PBMimage files
SYNOPSIS
ppm2tiff[
options] [
input.ppm]
output.tif DESCRIPTION
ppm2tiffconverts a file in the
PPM, PGMand
PBMimage formats to
TIFF.By default, the
TIFFimage is created with data samples packed (
PlanarConfiguration=1),compressed with the Packbits algorithm (
Compression=32773),and with each strip no more than 8 kilobytes. These characteristics can beoverridden, or explicitly specified with the options described below
If thePPMfile contains greyscale data, then thePhotometricInterpretationtag is set to 1 (min-is-black), otherwise it is set to 2 (RGB).
If noPPMfile is specified on the command line,ppm2tiffwill read from the standard input.
OPTIONS
- -c
- Specify a compression scheme to use when writing image data:none for no compression,packbitsfor PackBits compression (will be used by default),lzwfor Lempel-Ziv & Welch compression,jpegfor baseline JPEG compression,zipfor Deflate compression,g3for CCITT Group 3 (T.4) compression,andg4for CCITT Group 4 (T.6) compression.
- -r
- Write data with a specified number of rows per strip; by default the number ofrows/strip is selected so that each strip is approximately 8 kilobytes.
- -R
- Mark the resultant image to have the specified X and Y resolution (indots/inch).
SEE ALSO
tiffinfo(1),
tiffcp(1),
tiffmedian(1),
libtiff(3)
Libtiff library home page:http://www.remotesensing.org/libtiff/
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- SEE ALSO
This document was created byman2html,using the manual pages.