3
<meta name="generator" content="groff -Thtml, see www.gnu.org">
4
<meta name="Content-Style" content="text/css">
5
<title>PPM2TIFF</title>
9
<h1 align=center>PPM2TIFF</h1>
10
<a href="#NAME">NAME</a><br>
11
<a href="#SYNOPSIS">SYNOPSIS</a><br>
12
<a href="#DESCRIPTION">DESCRIPTION</a><br>
13
<a href="#OPTIONS">OPTIONS</a><br>
14
<a href="#SEE ALSO">SEE ALSO</a><br>
17
<!-- Creator : groff version 1.17.2 -->
18
<!-- CreationDate: Mon Dec 22 00:39:31 2003 -->
21
<table width="100%" border=0 rules="none" frame="void"
22
cols="2" cellspacing="0" cellpadding="0">
23
<tr valign="top" align="left">
24
<td width="10%"></td><td width="90%">
25
ppm2tiff - create a <small>TIFF</small> file from a <small>PPM</small> image file</td></table>
26
<a name="SYNOPSIS"></a>
29
<table width="100%" border=0 rules="none" frame="void"
30
cols="2" cellspacing="0" cellpadding="0">
31
<tr valign="top" align="left">
32
<td width="10%"></td><td width="90%">
33
<b>ppm2tiff</b> [ <i>options</i> ] [ <i>input.ppm</i> ]
34
<i>output.tif</i></td></table>
35
<a name="DESCRIPTION"></a>
38
<table width="100%" border=0 rules="none" frame="void"
39
cols="2" cellspacing="0" cellpadding="0">
40
<tr valign="top" align="left">
41
<td width="10%"></td><td width="90%">
42
<i>ppm2tiff</i> converts a file in the <small>PPM</small>
43
image format to <small>TIFF.</small> By default, the
44
<small>TIFF</small> image is created with data samples
45
packed (<i>PlanarConfiguration</i>=1), compressed with the
46
Lempel-Ziv & Welch algorithm (<i>Compression</i>=5), and
47
with each strip no more than 8 kilobytes. These
48
characteristics can be overriden, or explicitly specified
49
with the options described below</td></table>
51
<table width="100%" border=0 rules="none" frame="void"
52
cols="2" cellspacing="0" cellpadding="0">
53
<tr valign="top" align="left">
54
<td width="10%"></td><td width="90%">
55
If the <small>PPM</small> file contains greyscale data, then
56
the <i>PhotometricInterpretation</i> tag is set to 1
57
(min-is-black), otherwise it is set to 2 (RGB).</td></table>
59
<table width="100%" border=0 rules="none" frame="void"
60
cols="2" cellspacing="0" cellpadding="0">
61
<tr valign="top" align="left">
62
<td width="10%"></td><td width="90%">
63
If no <small>PPM</small> file is specified on the command
64
line, <i>ppm2tiff</i> will read from the standard
66
<a name="OPTIONS"></a>
69
<table width="100%" border=0 rules="none" frame="void"
70
cols="2" cellspacing="0" cellpadding="0">
71
<tr valign="top" align="left">
72
<td width="10%"></td><td width="90%">
73
<b>-c</b></td></table>
75
<table width="100%" border=0 rules="none" frame="void"
76
cols="2" cellspacing="0" cellpadding="0">
77
<tr valign="top" align="left">
78
<td width="21%"></td><td width="79%">
79
Specify a compression scheme to use when writing image data:
80
<b>-c none</b> for no compression, <b>-c packbits</b> for
81
the PackBits compression algorithm (the default), <b>-c
82
jpeg</b> for the baseline JPEG compression algorithm, <b>-c
83
zip</b> for the Deflate compression algorithm, and <b>-c
84
lzw</b> for Lempel-Ziv & Welch compression.</td></table>
86
<table width="100%" border=0 rules="none" frame="void"
87
cols="2" cellspacing="0" cellpadding="0">
88
<tr valign="top" align="left">
89
<td width="10%"></td><td width="90%">
90
<b>-r</b></td></table>
92
<table width="100%" border=0 rules="none" frame="void"
93
cols="2" cellspacing="0" cellpadding="0">
94
<tr valign="top" align="left">
95
<td width="21%"></td><td width="79%">
96
Write data with a specified number of rows per strip; by
97
default the number of rows/strip is selected so that each
98
strip is approximately 8 kilobytes.</td></table>
100
<table width="100%" border=0 rules="none" frame="void"
101
cols="2" cellspacing="0" cellpadding="0">
102
<tr valign="top" align="left">
103
<td width="10%"></td><td width="90%">
104
<b>-R</b></td></table>
106
<table width="100%" border=0 rules="none" frame="void"
107
cols="2" cellspacing="0" cellpadding="0">
108
<tr valign="top" align="left">
109
<td width="21%"></td><td width="79%">
110
Mark the resultant image to have the specified X and Y
111
resolution (in dots/inch).</td></table>
112
<a name="SEE ALSO"></a>
115
<table width="100%" border=0 rules="none" frame="void"
116
cols="2" cellspacing="0" cellpadding="0">
117
<tr valign="top" align="left">
118
<td width="10%"></td><td width="90%">
119
<i>tiffinfo</i>(1), <i>tiffcp</i>(1), <i>tiffmedian</i>(1),
120
<i>libtiff</i>(3)</td></table>