]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/man/ppm2tiff.1
Don't generate any events from wxSpinCtrl and wxSpinCtrlDouble methods.
[wxWidgets.git] / src / tiff / man / ppm2tiff.1
CommitLineData
8414a40c
VZ
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
27ppm2tiff \- create a
28.SM TIFF
29file from
30.SM PPM, PGM
31and
32.SM PBM
33image 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
44converts a file in the
45.SM PPM, PGM
46and
47.SM PBM
48image formats to
49.SM TIFF.
50By default, the
51.SM TIFF
52image is created with data samples packed (\c
53.IR PlanarConfiguration =1),
54compressed with the Packbits algorithm (\c
55.IR Compression =32773),
56and with each strip no more than 8 kilobytes. These characteristics can be
57overridden, or explicitly specified with the options described below
58.PP
59If the
60.SM PPM
61file contains greyscale data, then the
62.I PhotometricInterpretation
63tag is set to 1 (min-is-black), otherwise it is set to 2 (RGB).
64.PP
65If no
66.SM PPM
67file is specified on the command line,
68.I ppm2tiff
69will read from the standard input.
70.SH OPTIONS
71.TP
72.B \-c
73Specify a compression scheme to use when writing image data:
74.B none
75for no compression,
76.B packbits
77for PackBits compression (will be used by default),
78.B lzw
79for Lempel-Ziv & Welch compression,
80.B jpeg
81for baseline JPEG compression,
82.B zip
83for Deflate compression,
84.B g3
85for CCITT Group 3 (T.4) compression,
86and
87.B g4
88for CCITT Group 4 (T.6) compression.
89.TP
90.B \-r
91Write data with a specified number of rows per strip; by default the number of
92rows/strip is selected so that each strip is approximately 8 kilobytes.
93.TP
94.B \-R
95Mark the resultant image to have the specified X and Y resolution (in
96dots/inch).
97.SH "SEE ALSO"
98.BR tiffinfo (1),
99.BR tiffcp (1),
100.BR tiffmedian (1),
101.BR libtiff (3)
102.PP
103Libtiff library home page:
104.BR http://www.remotesensing.org/libtiff/