]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/man/ppm2tiff.1
should have been part of r74664: Avoid calling gtk_window_get_position() from "config...
[wxWidgets.git] / src / tiff / man / ppm2tiff.1
1 .\"
2 .\" Copyright (c) 1991-1997 Sam Leffler
3 .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
4 .\"
5 .\" Permission to use, copy, modify, distribute, and sell this software and
6 .\" its documentation for any purpose is hereby granted without fee, provided
7 .\" that (i) the above copyright notices and this permission notice appear in
8 .\" all copies of the software and related documentation, and (ii) the names of
9 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
10 .\" publicity relating to the software without the specific, prior written
11 .\" permission of Sam Leffler and Silicon Graphics.
12 .\"
13 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
14 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
15 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
16 .\"
17 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
18 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
19 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
21 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
22 .\" OF THIS SOFTWARE.
23 .\"
24 .if n .po 0
25 .TH PPM2TIFF 1 "March 1, 2006" "libtiff"
26 .SH NAME
27 ppm2tiff \- create a
28 .SM TIFF
29 file from
30 .SM PPM, PGM
31 and
32 .SM PBM
33 image files
34 .SH SYNOPSIS
35 .B ppm2tiff
36 [
37 .I options
38 ] [
39 .I input.ppm
40 ]
41 .I output.tif
42 .SH DESCRIPTION
43 .I ppm2tiff
44 converts a file in the
45 .SM PPM, PGM
46 and
47 .SM PBM
48 image formats to
49 .SM TIFF.
50 By default, the
51 .SM TIFF
52 image is created with data samples packed (\c
53 .IR PlanarConfiguration =1),
54 compressed with the Packbits algorithm (\c
55 .IR Compression =32773),
56 and with each strip no more than 8 kilobytes. These characteristics can be
57 overridden, or explicitly specified with the options described below
58 .PP
59 If the
60 .SM PPM
61 file contains greyscale data, then the
62 .I PhotometricInterpretation
63 tag is set to 1 (min-is-black), otherwise it is set to 2 (RGB).
64 .PP
65 If no
66 .SM PPM
67 file is specified on the command line,
68 .I ppm2tiff
69 will read from the standard input.
70 .SH OPTIONS
71 .TP
72 .B \-c
73 Specify a compression scheme to use when writing image data:
74 .B none
75 for no compression,
76 .B packbits
77 for PackBits compression (will be used by default),
78 .B lzw
79 for Lempel-Ziv & Welch compression,
80 .B jpeg
81 for baseline JPEG compression,
82 .B zip
83 for Deflate compression,
84 .B g3
85 for CCITT Group 3 (T.4) compression,
86 and
87 .B g4
88 for CCITT Group 4 (T.6) compression.
89 .TP
90 .B \-r
91 Write data with a specified number of rows per strip; by default the number of
92 rows/strip is selected so that each strip is approximately 8 kilobytes.
93 .TP
94 .B \-R
95 Mark the resultant image to have the specified X and Y resolution (in
96 dots/inch).
97 .SH "SEE ALSO"
98 .BR tiffinfo (1),
99 .BR tiffcp (1),
100 .BR tiffmedian (1),
101 .BR libtiff (3)
102 .PP
103 Libtiff library home page:
104 .BR http://www.remotesensing.org/libtiff/