1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Sat Feb 24 18:37:19 2007 -->
5 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org">
6 <meta name=
"Content-Style" content=
"text/css">
7 <title>RAS2TIFF
</title>
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>
23 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
24 cols=
"2" cellspacing=
"0" cellpadding=
"0">
25 <tr valign=
"top" align=
"left">
28 <p>ras2tiff
− create a
<small>TIFF
</small> file from a
32 <a name=
"SYNOPSIS"></a>
35 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
36 cols=
"2" cellspacing=
"0" cellpadding=
"0">
37 <tr valign=
"top" align=
"left">
40 <p><b>ras2tiff
</b> [
<i>options
</i> ]
<i>input.ras
44 <a name=
"DESCRIPTION"></a>
47 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
48 cols=
"2" cellspacing=
"0" cellpadding=
"0">
49 <tr valign=
"top" align=
"left">
52 <p><i>ras2tiff
</i> converts a file in the Sun rasterfile
53 format to
<small>TIFF.
</small> By default, the
54 <small>TIFF
</small> image is created with data samples
55 packed (
<i>PlanarConfiguration
</i>=
1), compressed with the
56 Lempel-Ziv
& Welch algorithm (
<i>Compression
</i>=
5), and
57 with each strip no more than
8 kilobytes. These
58 characteristics can overridden, or explicitly specified with
59 the options described below.
</p>
61 <p>Any colormap information in the rasterfile is carried
62 over to the
<small>TIFF
</small> file by including a
63 <i>Colormap
</i> tag in the output file. If the rasterfile
64 has a colormap, the
<i>PhotometricInterpretation
</i> tag is
65 set to
3 (palette); otherwise it is set to
2 (RGB) if the
66 depth is
24 or
1 (min-is-black) if the depth is not
24.
</p>
69 <a name=
"OPTIONS"></a>
72 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
73 cols=
"5" cellspacing=
"0" cellpadding=
"0">
74 <tr valign=
"top" align=
"left">
78 <p><b>−c
</b></p>
83 <p>Specify a compression scheme to use when writing image
84 data:
<b>−c none
</b> for no compression,
<b>−c
85 packbits
</b> for the PackBits compression algorithm,
86 <b>−c jpeg
</b> for the baseline JPEG compression
87 algorithm,
<b>−c zip
</b> for the Deflate compression
88 algorithm, and
<b>−c lzw
</b> for Lempel-Ziv
&
89 Welch (the default).
</p>
93 <tr valign=
"top" align=
"left">
97 <p><b>−r
</b></p>
102 <p>Write data with a specified number of rows per strip; by
103 default the number of rows/strip is selected so that each
104 strip is approximately
8 kilobytes.
</p>
112 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
113 cols=
"2" cellspacing=
"0" cellpadding=
"0">
114 <tr valign=
"top" align=
"left">
117 <p>Does not handle all possible rasterfiles. In particular,
118 <i>ras2tiff
</i> does not handle run-length encoded
122 <a name=
"SEE ALSO"></a>
125 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
126 cols=
"2" cellspacing=
"0" cellpadding=
"0">
127 <tr valign=
"top" align=
"left">
130 <p><b>pal2rgb
</b>(
1),
<b>tiffinfo
</b>(
1),
<b>tiffcp
</b>(
1),
131 <b>tiffmedian
</b>(
1),
<b>libtiff
</b>(
3)
</p>
133 <p>Libtiff library home page:
134 <b>http://www.remotesensing.org/libtiff/
</b></p>