]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/man/ppm2tiff.1
fix Get(Sub)ItemRect() after changes of r54437; added test for it (see #10175)
[wxWidgets.git] / src / tiff / man / ppm2tiff.1
CommitLineData
8414a40c
VZ
1.\" $Id: ppm2tiff.1,v 1.5 2006/03/01 11:20:33 dron Exp $
2.\"
3.\" Copyright (c) 1991-1997 Sam Leffler
4.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
5.\"
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.
13.\"
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.
17.\"
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
23.\" OF THIS SOFTWARE.
24.\"
25.if n .po 0
26.TH PPM2TIFF 1 "March 1, 2006" "libtiff"
27.SH NAME
28ppm2tiff \- create a
29.SM TIFF
30file from
31.SM PPM, PGM
32and
33.SM PBM
34image files
35.SH SYNOPSIS
36.B ppm2tiff
37[
38.I options
39] [
40.I input.ppm
41]
42.I output.tif
43.SH DESCRIPTION
44.I ppm2tiff
45converts a file in the
46.SM PPM, PGM
47and
48.SM PBM
49image formats to
50.SM TIFF.
51By default, the
52.SM TIFF
53image is created with data samples packed (\c
54.IR PlanarConfiguration =1),
55compressed with the Packbits algorithm (\c
56.IR Compression =32773),
57and with each strip no more than 8 kilobytes. These characteristics can be
58overridden, or explicitly specified with the options described below
59.PP
60If the
61.SM PPM
62file contains greyscale data, then the
63.I PhotometricInterpretation
64tag is set to 1 (min-is-black), otherwise it is set to 2 (RGB).
65.PP
66If no
67.SM PPM
68file is specified on the command line,
69.I ppm2tiff
70will read from the standard input.
71.SH OPTIONS
72.TP
73.B \-c
74Specify a compression scheme to use when writing image data:
75.B none
76for no compression,
77.B packbits
78for PackBits compression (will be used by default),
79.B lzw
80for Lempel-Ziv & Welch compression,
81.B jpeg
82for baseline JPEG compression,
83.B zip
84for Deflate compression,
85.B g3
86for CCITT Group 3 (T.4) compression,
87and
88.B g4
89for CCITT Group 4 (T.6) compression.
90.TP
91.B \-r
92Write data with a specified number of rows per strip; by default the number of
93rows/strip is selected so that each strip is approximately 8 kilobytes.
94.TP
95.B \-R
96Mark the resultant image to have the specified X and Y resolution (in
97dots/inch).
98.SH "SEE ALSO"
99.BR tiffinfo (1),
100.BR tiffcp (1),
101.BR tiffmedian (1),
102.BR libtiff (3)
103.PP
104Libtiff library home page:
105.BR http://www.remotesensing.org/libtiff/