1 .\" $Id: ppm2tiff.1,v 1.5 2006-03-01 11:20:33 dron Exp $
3 .\" Copyright (c) 1991-1997 Sam Leffler
4 .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
6 .\" Permission to use, copy, modify, distribute, and sell this software and
7 .\" its documentation for any purpose is hereby granted without fee, provided
8 .\" that (i) the above copyright notices and this permission notice appear in
9 .\" all copies of the software and related documentation, and (ii) the names of
10 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
11 .\" publicity relating to the software without the specific, prior written
12 .\" permission of Sam Leffler and Silicon Graphics.
14 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
15 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
16 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
18 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
19 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
20 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
22 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
26 .TH PPM2TIFF 1 "March 1, 2006" "libtiff"
45 converts a file in the
53 image is created with data samples packed (\c
54 .IR PlanarConfiguration =1),
55 compressed with the Packbits algorithm (\c
56 .IR Compression =32773),
57 and with each strip no more than 8 kilobytes. These characteristics can be
58 overridden, or explicitly specified with the options described below
62 file contains greyscale data, then the
63 .I PhotometricInterpretation
64 tag is set to 1 (min-is-black), otherwise it is set to 2 (RGB).
68 file is specified on the command line,
70 will read from the standard input.
74 Specify a compression scheme to use when writing image data:
78 for PackBits compression (will be used by default),
80 for Lempel-Ziv & Welch compression,
82 for baseline JPEG compression,
84 for Deflate compression,
86 for CCITT Group 3 (T.4) compression,
89 for CCITT Group 4 (T.6) compression.
92 Write data with a specified number of rows per strip; by default the number of
93 rows/strip is selected so that each strip is approximately 8 kilobytes.
96 Mark the resultant image to have the specified X and Y resolution (in
104 Libtiff library home page:
105 .BR http://www.remotesensing.org/libtiff/