3
<meta name="generator" content="groff -Thtml, see www.gnu.org">
4
<meta name="Content-Style" content="text/css">
5
<title>RAS2TIFF</title>
9
<h1 align=center>RAS2TIFF</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="#BUGS">BUGS</a><br>
15
<a href="#SEE ALSO">SEE ALSO</a><br>
18
<!-- Creator : groff version 1.17.2 -->
19
<!-- CreationDate: Mon Dec 22 00:39:31 2003 -->
22
<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="10%"></td><td width="90%">
26
ras2tiff - create a <small>TIFF</small> file from a Sun rasterfile</td></table>
27
<a name="SYNOPSIS"></a>
30
<table width="100%" border=0 rules="none" frame="void"
31
cols="2" cellspacing="0" cellpadding="0">
32
<tr valign="top" align="left">
33
<td width="10%"></td><td width="90%">
34
<b>ras2tiff</b> [ <i>options</i> ] <i>input.ras
35
output.tif</i></td></table>
36
<a name="DESCRIPTION"></a>
39
<table width="100%" border=0 rules="none" frame="void"
40
cols="2" cellspacing="0" cellpadding="0">
41
<tr valign="top" align="left">
42
<td width="10%"></td><td width="90%">
43
<i>ras2tiff</i> converts a file in the Sun rasterfile format
44
to <small>TIFF.</small> By default, the <small>TIFF</small>
45
image is created with data samples packed
46
(<i>PlanarConfiguration</i>=1), compressed with the
47
Lempel-Ziv & Welch algorithm (<i>Compression</i>=5), and
48
with each strip no more than 8 kilobytes. These
49
characteristics can overriden, or explicitly specified with
50
the options described below.</td></table>
52
<table width="100%" border=0 rules="none" frame="void"
53
cols="2" cellspacing="0" cellpadding="0">
54
<tr valign="top" align="left">
55
<td width="10%"></td><td width="90%">
56
Any colormap information in the rasterfile is carried over
57
to the <small>TIFF</small> file by including a
58
<i>Colormap</i> tag in the output file. If the rasterfile
59
has a colormap, the <i>PhotometricInterpretation</i> tag is
60
set to 3 (palette); otherwise it is set to 2 (RGB) if the
61
depth is 24 or 1 (min-is-black) if the depth is not
63
<a name="OPTIONS"></a>
66
<table width="100%" border=0 rules="none" frame="void"
67
cols="2" cellspacing="0" cellpadding="0">
68
<tr valign="top" align="left">
69
<td width="10%"></td><td width="90%">
70
<b>-c</b></td></table>
72
<table width="100%" border=0 rules="none" frame="void"
73
cols="2" cellspacing="0" cellpadding="0">
74
<tr valign="top" align="left">
75
<td width="21%"></td><td width="79%">
76
Specify a compression scheme to use when writing image data:
77
<b>-c none</b> for no compression, <b>-c packbits</b> for
78
the PackBits compression algorithm, <b>-c jpeg</b> for the
79
baseline JPEG compression algorithm, <b>-c zip</b> for the
80
Deflate compression algorithm, and <b>-c lzw</b> for
81
Lempel-Ziv & Welch (the default).</td></table>
83
<table width="100%" border=0 rules="none" frame="void"
84
cols="2" cellspacing="0" cellpadding="0">
85
<tr valign="top" align="left">
86
<td width="10%"></td><td width="90%">
87
<b>-r</b></td></table>
89
<table width="100%" border=0 rules="none" frame="void"
90
cols="2" cellspacing="0" cellpadding="0">
91
<tr valign="top" align="left">
92
<td width="21%"></td><td width="79%">
93
Write data with a specified number of rows per strip; by
94
default the number of rows/strip is selected so that each
95
strip is approximately 8 kilobytes.</td></table>
99
<table width="100%" border=0 rules="none" frame="void"
100
cols="2" cellspacing="0" cellpadding="0">
101
<tr valign="top" align="left">
102
<td width="10%"></td><td width="90%">
103
Does not handle all possible rasterfiles. In particular,
104
<i>ras2tiff</i> does not handle run-length encoded
106
<a name="SEE ALSO"></a>
109
<table width="100%" border=0 rules="none" frame="void"
110
cols="2" cellspacing="0" cellpadding="0">
111
<tr valign="top" align="left">
112
<td width="10%"></td><td width="90%">
113
<i>pal2rgb</i>(1), <i>tiffinfo</i>(1), <i>tiffcp</i>(1),
114
<i>tiffmedian</i>(1), <i>libtiff</i>(3)</td></table>