1<!-- Creator : groff version 1.18.1 --> 2<!-- CreationDate: Sat Feb 24 18:37:19 2007 --> 3<html> 4<head> 5<meta name="generator" content="groff -Thtml, see www.gnu.org"> 6<meta name="Content-Style" content="text/css"> 7<title>RAS2TIFF</title> 8</head> 9<body> 10 11<h1 align=center>RAS2TIFF</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="#BUGS">BUGS</a><br> 17<a href="#SEE ALSO">SEE ALSO</a><br> 18 19<hr> 20<a name="NAME"></a> 21<h2>NAME</h2> 22<!-- INDENTATION --> 23<table width="100%" border=0 rules="none" frame="void" 24 cols="2" cellspacing="0" cellpadding="0"> 25<tr valign="top" align="left"> 26<td width="8%"></td> 27<td width="91%"> 28<p>ras2tiff − create a <small>TIFF</small> file from a 29Sun rasterfile</p> 30</td> 31</table> 32<a name="SYNOPSIS"></a> 33<h2>SYNOPSIS</h2> 34<!-- INDENTATION --> 35<table width="100%" border=0 rules="none" frame="void" 36 cols="2" cellspacing="0" cellpadding="0"> 37<tr valign="top" align="left"> 38<td width="8%"></td> 39<td width="91%"> 40<p><b>ras2tiff</b> [ <i>options</i> ] <i>input.ras 41output.tif</i></p> 42</td> 43</table> 44<a name="DESCRIPTION"></a> 45<h2>DESCRIPTION</h2> 46<!-- INDENTATION --> 47<table width="100%" border=0 rules="none" frame="void" 48 cols="2" cellspacing="0" cellpadding="0"> 49<tr valign="top" align="left"> 50<td width="8%"></td> 51<td width="91%"> 52<p><i>ras2tiff</i> converts a file in the Sun rasterfile 53format to <small>TIFF.</small> By default, the 54<small>TIFF</small> image is created with data samples 55packed (<i>PlanarConfiguration</i>=1), compressed with the 56Lempel-Ziv & Welch algorithm (<i>Compression</i>=5), and 57with each strip no more than 8 kilobytes. These 58characteristics can overridden, or explicitly specified with 59the options described below.</p> 60<!-- INDENTATION --> 61<p>Any colormap information in the rasterfile is carried 62over to the <small>TIFF</small> file by including a 63<i>Colormap</i> tag in the output file. If the rasterfile 64has a colormap, the <i>PhotometricInterpretation</i> tag is 65set to 3 (palette); otherwise it is set to 2 (RGB) if the 66depth is 24 or 1 (min-is-black) if the depth is not 24.</p> 67</td> 68</table> 69<a name="OPTIONS"></a> 70<h2>OPTIONS</h2> 71<!-- TABS --> 72<table width="100%" border=0 rules="none" frame="void" 73 cols="5" cellspacing="0" cellpadding="0"> 74<tr valign="top" align="left"> 75<td width="10%"></td> 76<td width="2%"> 77 78<p><b>−c</b></p> 79</td> 80<td width="6%"></td> 81<td width="80%"> 82 83<p>Specify a compression scheme to use when writing image 84data: <b>−c none</b> for no compression, <b>−c 85packbits</b> for the PackBits compression algorithm, 86<b>−c jpeg</b> for the baseline JPEG compression 87algorithm, <b>−c zip</b> for the Deflate compression 88algorithm, and <b>−c lzw</b> for Lempel-Ziv & 89Welch (the default).</p> 90</td> 91<td width="0%"> 92</td> 93<tr valign="top" align="left"> 94<td width="10%"></td> 95<td width="2%"> 96 97<p><b>−r</b></p> 98</td> 99<td width="6%"></td> 100<td width="80%"> 101 102<p>Write data with a specified number of rows per strip; by 103default the number of rows/strip is selected so that each 104strip is approximately 8 kilobytes.</p> 105</td> 106<td width="0%"> 107</td> 108</table> 109<a name="BUGS"></a> 110<h2>BUGS</h2> 111<!-- INDENTATION --> 112<table width="100%" border=0 rules="none" frame="void" 113 cols="2" cellspacing="0" cellpadding="0"> 114<tr valign="top" align="left"> 115<td width="8%"></td> 116<td width="91%"> 117<p>Does not handle all possible rasterfiles. In particular, 118<i>ras2tiff</i> does not handle run-length encoded 119images.</p> 120</td> 121</table> 122<a name="SEE ALSO"></a> 123<h2>SEE ALSO</h2> 124<!-- INDENTATION --> 125<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><b>pal2rgb</b>(1), <b>tiffinfo</b>(1), <b>tiffcp</b>(1), 131<b>tiffmedian</b>(1), <b>libtiff</b>(3)</p> 132<!-- INDENTATION --> 133<p>Libtiff library home page: 134<b>http://www.remotesensing.org/libtiff/</b></p> 135</td> 136</table> 137<hr> 138</body> 139</html> 140