1<html> 2<head> 3<meta name="generator" content="groff -Thtml, see www.gnu.org"> 4<meta name="Content-Style" content="text/css"> 5<title>PPM2TIFF</title> 6</head> 7<body> 8 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> 15 16<hr> 17<!-- Creator : groff version 1.18 --> 18<!-- CreationDate: Mon Oct 7 17:36:33 2002 --> 19<a name="NAME"></a> 20<h2>NAME</h2> 21<!-- INDENTATION --> 22<p><table width="100%" border=0 rules="none" frame="void" 23 cols="2" cellspacing="0" cellpadding="0"> 24<tr valign="top" align="left"> 25<td width="8%"></td> 26<td width="91%"> 27<p>ppm2tiff − create a <small>TIFF</small> file from a 28<small>PPM</small> image file</p> 29</td> 30</table></p> 31<a name="SYNOPSIS"></a> 32<h2>SYNOPSIS</h2> 33<!-- INDENTATION --> 34<p><table width="100%" border=0 rules="none" frame="void" 35 cols="2" cellspacing="0" cellpadding="0"> 36<tr valign="top" align="left"> 37<td width="8%"></td> 38<td width="91%"> 39<p><b>ppm2tiff</b> [ <i>options</i> ] [ <i>input.ppm</i> ] 40<i>output.tif</i></p> 41</td> 42</table></p> 43<a name="DESCRIPTION"></a> 44<h2>DESCRIPTION</h2> 45<!-- INDENTATION --> 46<p><table width="100%" border=0 rules="none" frame="void" 47 cols="2" cellspacing="0" cellpadding="0"> 48<tr valign="top" align="left"> 49<td width="8%"></td> 50<td width="91%"> 51<p><i>ppm2tiff</i> converts a file in the <small>PPM</small> 52image format to <small>TIFF.</small> By default, the 53<small>TIFF</small> image is created with data samples 54packed (<i>PlanarConfiguration</i>=1), compressed with the 55Lempel-Ziv & Welch algorithm (<i>Compression</i>=5), and 56with each strip no more than 8 kilobytes. These 57characteristics can be overriden, or explicitly specified 58with the options described below</p> 59<!-- INDENTATION --> 60<p>If the <small>PPM</small> file contains greyscale data, 61then the <i>PhotometricInterpretation</i> tag is set to 1 62(min-is-black), otherwise it is set to 2 (RGB).</p> 63<!-- INDENTATION --> 64<p>If no <small>PPM</small> file is specified on the command 65line, <i>ppm2tiff</i> will read from the standard input.</p> 66</td> 67</table></p> 68<a name="OPTIONS"></a> 69<h2>OPTIONS</h2> 70<!-- TABS --> 71<p><table width="100%" border=0 rules="none" frame="void" 72 cols="5" cellspacing="0" cellpadding="0"> 73<tr valign="top" align="left"> 74<td width="10%"></td> 75<td width="3%"> 76 77<p><b>−c</b></p> 78</td> 79<td width="5%"></td> 80<td width="80%"> 81 82<p>Specify a compression scheme to use when writing image 83data: <b>−c none</b> for no compression, <b>-c 84packbits</b> for the PackBits compression algorithm, <b>-c 85jpeg</b> for the baseline JPEG compression algorithm, <b>-c 86zip</b> for the Deflate compression algorithm, and 87<b>−c lzw</b> for Lempel-Ziv & Welch compression 88(the default).</p> 89</td> 90<td width="0%"> 91</td> 92<tr valign="top" align="left"> 93<td width="10%"></td> 94<td width="3%"> 95 96<p><b>−r</b></p> 97</td> 98<td width="5%"></td> 99<td width="80%"> 100 101<p>Write data with a specified number of rows per strip; by 102default the number of rows/strip is selected so that each 103strip is approximately 8 kilobytes.</p> 104</td> 105<td width="0%"> 106</td> 107<tr valign="top" align="left"> 108<td width="10%"></td> 109<td width="3%"> 110 111<p><b>−R</b></p> 112</td> 113<td width="5%"></td> 114<td width="80%"> 115 116<p>Mark the resultant image to have the specified X and Y 117resolution (in dots/inch).</p> 118</td> 119<td width="0%"> 120</td> 121</table></p> 122<a name="SEE ALSO"></a> 123<h2>SEE ALSO</h2> 124<!-- INDENTATION --> 125<p><table width="100%" border=0 rules="none" frame="void" 126 cols="2" cellspacing="0" cellpadding="0"> 127<tr valign="top" align="left"> 128<td width="8%"></td> 129<td width="91%"> 130<p><i>tiffinfo</i>(1), <i>tiffcp</i>(1), 131<i>tiffmedian</i>(1), <i>libtiff</i>(3)</p> 132</td> 133</table></p> 134<hr> 135</body> 136</html> 137