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