1PPM2TIFF(1) General Commands Manual PPM2TIFF(1)
2
3
4
6 ppm2tiff - create a TIFF file from PPM, PGM and PBM image files
7
9 ppm2tiff [ options ] [ input.ppm ] output.tif
10
12 ppm2tiff converts a file in the PPM, PGM and PBM image formats to TIFF.
13 By default, the TIFF image is created with data samples packed (Planar‐
14 Configuration=1), compressed with the Packbits algorithm (Compres‐
15 sion=32773), and with each strip no more than 8 kilobytes. These char‐
16 acteristics can be overridden, or explicitly specified with the options
17 described below
18
19 If the PPM file contains greyscale data, then the PhotometricInterpre‐
20 tation tag is set to 1 (min-is-black), otherwise it is set to 2 (RGB).
21
22 If no PPM file is specified on the command line, ppm2tiff will read
23 from the standard input.
24
26 -c Specify a compression scheme to use when writing image data:
27 none for no compression, packbits for PackBits compression (will
28 be used by default), lzw for Lempel-Ziv & Welch compression,
29 jpeg for baseline JPEG compression, zip for Deflate compression,
30 g3 for CCITT Group 3 (T.4) compression, and g4 for CCITT Group 4
31 (T.6) compression.
32
33 -r Write data with a specified number of rows per strip; by default
34 the number of rows/strip is selected so that each strip is
35 approximately 8 kilobytes.
36
37 -R Mark the resultant image to have the specified X and Y resolu‐
38 tion (in dots/inch).
39
41 tiffinfo(1), tiffcp(1), tiffmedian(1), libtiff(3)
42
43 Libtiff library home page: http://www.simplesystems.org/libtiff/
44
45
46
47libtiff March 1, 2006 PPM2TIFF(1)