1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Mon Mar 13 18:03:13 2006 -->
5 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org">
6 <meta name=
"Content-Style" content=
"text/css">
7 <title>TIFF2RGBA
</title>
11 <h1 align=center
>TIFF2RGBA
</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=
"#SEE ALSO">SEE ALSO
</a><br>
22 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
23 cols=
"2" cellspacing=
"0" cellpadding=
"0">
24 <tr valign=
"top" align=
"left">
27 <p>tiff2rgba
− convert a
<small>TIFF
</small> image to
31 <a name=
"SYNOPSIS"></a>
34 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
35 cols=
"2" cellspacing=
"0" cellpadding=
"0">
36 <tr valign=
"top" align=
"left">
39 <p><b>tiff2rgba
</b> [ options ]
<i>input.tif
43 <a name=
"DESCRIPTION"></a>
46 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
47 cols=
"2" cellspacing=
"0" cellpadding=
"0">
48 <tr valign=
"top" align=
"left">
51 <p><i>Tiff2rgba
</i> converts a wide variety of TIFF images
52 into an RGBA TIFF image. This includes the ability to
53 translate different color spaces and photometric
54 interpretation into RGBA, support for alpha blending, and
55 translation of many different bit depths into a
32bit RGBA
58 <p>Internally this program is implemented using the
59 <i>TIFFReadRGBAImage()
</i> function, and it suffers any
60 limitations of that image. This includes limited support for
61 > 8 BitsPerSample images, and flaws with some esoteric
62 combinations of BitsPerSample, photometric interpretation,
63 block organization and planar configuration.
</p>
65 <p>The generated images are stripped images with four
66 samples per pixel (red, green, blue and alpha) or if the -n
67 flag is used, three samples per pixel (red, green, and
68 blue). The resulting images are always planar configuration
69 contiguous. For this reason, this program is a useful
70 utility for transform exotic TIFF files into a form
71 ingestible by almost any TIFF supporting software.
</p>
74 <a name=
"OPTIONS"></a>
77 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
78 cols=
"5" cellspacing=
"0" cellpadding=
"0">
79 <tr valign=
"top" align=
"left">
83 <p><b>−c
</b></p>
88 <p>Specify a compression scheme to use when writing image
89 data:
<b>−c none
</b> for no compression (the default),
90 <b>-c packbits
</b> for the PackBits compression algorithm,
91 <b>-c zip
</b> for the Deflate compression algorithm,
<b>-c
92 jpeg
</b> for the JPEG compression algorithm, and
<b>−c
93 lzw
</b> for Lempel-Ziv
& Welch.
</p>
97 <tr valign=
"top" align=
"left">
101 <p><b>−r
</b></p>
106 <p>Write data with a specified number of rows per strip; by
107 default the number of rows/strip is selected so that each
108 strip is approximately
8 kilobytes.
</p>
112 <tr valign=
"top" align=
"left">
113 <td width=
"11%"></td>
116 <p><b>−b
</b></p>
121 <p>Process the image one block (strip/tile) at a time
122 instead of by reading the whole image into memory at once.
123 This may be necessary for very large images on systems with
128 <tr valign=
"top" align=
"left">
129 <td width=
"11%"></td>
132 <p><b>−n
</b></p>
137 <p>Drop the alpha component from the output file, producing
138 a pure RGB file. Currently this does not work if the -b flag
139 is also in effect.
</p>
144 <a name=
"SEE ALSO"></a>
147 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
148 cols=
"2" cellspacing=
"0" cellpadding=
"0">
149 <tr valign=
"top" align=
"left">
152 <p><b>tiff2bw
</b>(
1),
<b>TIFFReadRGBAImage
</b>(
3t),
153 <b>libtiff
</b>(
3)
</p>
155 <p>Libtiff library home page:
156 <b>http://www.remotesensing.org/libtiff/
</b></p>