1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Mon Mar 13 18:03:12 2006 -->
5 <meta name="generator" content="groff -Thtml, see www.gnu.org">
6 <meta name="Content-Style" content="text/css">
7 <title>PPM2TIFF</title>
11 <h1 align=center>PPM2TIFF</h1>
12 <a href="#NAME">NAME</a><br>
13 <a href="#SYNOPSIS">SYNOPSIS</a><br>
14 <a href="#DESCRIPTION">DESCRIPTION</a><br>
15 <a href="#OPTIONS">OPTIONS</a><br>
16 <a href="#SEE ALSO">SEE ALSO</a><br>
22 <table width="100%" border=0 rules="none" frame="void"
23 cols="2" cellspacing="0" cellpadding="0">
24 <tr valign="top" align="left">
27 <p>ppm2tiff − create a <small>TIFF</small> file from
28 <small>PPM, PGM</small> and <small>PBM</small> image
32 <a name="SYNOPSIS"></a>
35 <table width="100%" border=0 rules="none" frame="void"
36 cols="2" cellspacing="0" cellpadding="0">
37 <tr valign="top" align="left">
40 <p><b>ppm2tiff</b> [ <i>options</i> ] [ <i>input.ppm</i> ]
44 <a name="DESCRIPTION"></a>
47 <table width="100%" border=0 rules="none" frame="void"
48 cols="2" cellspacing="0" cellpadding="0">
49 <tr valign="top" align="left">
52 <p><i>ppm2tiff</i> converts a file in the <small>PPM,
53 PGM</small> and <small>PBM</small> image formats to
54 <small>TIFF.</small> By default, the <small>TIFF</small>
55 image is created with data samples packed
56 (<i>PlanarConfiguration</i>=1), compressed with the Packbits
57 algorithm (<i>Compression</i>=32773), and with each strip no
58 more than 8 kilobytes. These characteristics can be
59 overridden, or explicitly specified with the options
62 <p>If the <small>PPM</small> file contains greyscale data,
63 then the <i>PhotometricInterpretation</i> tag is set to 1
64 (min-is-black), otherwise it is set to 2 (RGB).</p>
66 <p>If no <small>PPM</small> file is specified on the command
67 line, <i>ppm2tiff</i> will read from the standard input.</p>
70 <a name="OPTIONS"></a>
73 <table width="100%" border=0 rules="none" frame="void"
74 cols="5" cellspacing="0" cellpadding="0">
75 <tr valign="top" align="left">
79 <p><b>−c</b></p>
84 <p>Specify a compression scheme to use when writing image
85 data: <b>none</b> for no compression, <b>packbits</b> for
86 PackBits compression (will be used by default), <b>lzw</b>
87 for Lempel-Ziv & Welch compression, <b>jpeg</b> for
88 baseline JPEG compression, <b>zip</b> for Deflate
89 compression, <b>g3</b> for CCITT Group 3 (T.4) compression,
90 and <b>g4</b> for CCITT Group 4 (T.6) compression.</p>
94 <tr valign="top" align="left">
98 <p><b>−r</b></p>
103 <p>Write data with a specified number of rows per strip; by
104 default the number of rows/strip is selected so that each
105 strip is approximately 8 kilobytes.</p>
109 <tr valign="top" align="left">
110 <td width="10%"></td>
113 <p><b>−R</b></p>
118 <p>Mark the resultant image to have the specified X and Y
119 resolution (in dots/inch).</p>
124 <a name="SEE ALSO"></a>
127 <table width="100%" border=0 rules="none" frame="void"
128 cols="2" cellspacing="0" cellpadding="0">
129 <tr valign="top" align="left">
132 <p><b>tiffinfo</b>(1), <b>tiffcp</b>(1),
133 <b>tiffmedian</b>(1), <b>libtiff</b>(3)</p>
135 <p>Libtiff library home page:
136 <b>http://www.remotesensing.org/libtiff/</b></p>