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.17.2 --> 18<!-- CreationDate: Mon Dec 22 00:39:31 2003 --> 19<a name="NAME"></a> 20<h2>NAME</h2> 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%"> 25ppm2tiff - create a <small>TIFF</small> file from a <small>PPM</small> image file</td></table> 26<a name="SYNOPSIS"></a> 27<h2>SYNOPSIS</h2> 28 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> 36<h2>DESCRIPTION</h2> 37 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> 43image format to <small>TIFF.</small> By default, the 44<small>TIFF</small> image is created with data samples 45packed (<i>PlanarConfiguration</i>=1), compressed with the 46Lempel-Ziv & Welch algorithm (<i>Compression</i>=5), and 47with each strip no more than 8 kilobytes. These 48characteristics can be overriden, or explicitly specified 49with the options described below</td></table> 50 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%"> 55If the <small>PPM</small> file contains greyscale data, then 56the <i>PhotometricInterpretation</i> tag is set to 1 57(min-is-black), otherwise it is set to 2 (RGB).</td></table> 58 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%"> 63If no <small>PPM</small> file is specified on the command 64line, <i>ppm2tiff</i> will read from the standard 65input.</td></table> 66<a name="OPTIONS"></a> 67<h2>OPTIONS</h2> 68 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> 74 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%"> 79Specify a compression scheme to use when writing image data: 80<b>-c none</b> for no compression, <b>-c packbits</b> for 81the PackBits compression algorithm (the default), <b>-c 82jpeg</b> for the baseline JPEG compression algorithm, <b>-c 83zip</b> for the Deflate compression algorithm, and <b>-c 84lzw</b> for Lempel-Ziv & Welch compression.</td></table> 85 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> 91 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%"> 96Write data with a specified number of rows per strip; by 97default the number of rows/strip is selected so that each 98strip is approximately 8 kilobytes.</td></table> 99 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> 105 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%"> 110Mark the resultant image to have the specified X and Y 111resolution (in dots/inch).</td></table> 112<a name="SEE ALSO"></a> 113<h2>SEE ALSO</h2> 114 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> 121<hr> 122</body> 123</html> 124