3
<meta name="generator" content="groff -Thtml, see www.gnu.org">
4
<meta name="Content-Style" content="text/css">
5
<title>TIFF2RGBA</title>
9
<h1 align=center>TIFF2RGBA</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="#SEE ALSO">SEE ALSO</a><br>
17
<!-- Creator : groff version 1.17.2 -->
18
<!-- CreationDate: Mon Dec 22 00:39:34 2003 -->
21
<table width="100%" border=0 rules="none" frame="void"
22
cols="2" cellspacing="0" cellpadding="0">
23
<tr valign="top" align="left">
24
<td width="10%"></td><td width="90%">
25
tiff2rgba - convert a <small>TIFF</small> image to RGBA color space</td></table>
26
<a name="SYNOPSIS"></a>
29
<table width="100%" border=0 rules="none" frame="void"
30
cols="2" cellspacing="0" cellpadding="0">
31
<tr valign="top" align="left">
32
<td width="10%"></td><td width="90%">
33
<b>tiff2rgba</b> [ options ] <i>input.tif
34
output.tif</i></td></table>
35
<a name="DESCRIPTION"></a>
38
<table width="100%" border=0 rules="none" frame="void"
39
cols="2" cellspacing="0" cellpadding="0">
40
<tr valign="top" align="left">
41
<td width="10%"></td><td width="90%">
42
<i>Tiff2rgba</i> converts a wide variety of TIFF images into
43
an RGBA TIFF image. This includes the ability to translate
44
different color spaces and photometric interpretation into
45
RGBA, support for alpha blending, and translation of many
46
different bit depths into a 32bit RGBA image.</td></table>
48
<table width="100%" border=0 rules="none" frame="void"
49
cols="2" cellspacing="0" cellpadding="0">
50
<tr valign="top" align="left">
51
<td width="10%"></td><td width="90%">
52
Internally this program is implemented using the
53
<i>TIFFReadRGBAImage()</i> function, and it suffers any
54
limitations of that image. This includes limited support for
55
> 8 BitsPerSample images, and flaws with some esoteric
56
combinations of BitsPerSample, photometric interpretation,
57
block organization and planar configuration.</td></table>
59
<table width="100%" border=0 rules="none" frame="void"
60
cols="2" cellspacing="0" cellpadding="0">
61
<tr valign="top" align="left">
62
<td width="10%"></td><td width="90%">
63
The generated images are stripped images with four samples
64
per pixel (red, green, blue and alpha) or if the -n flag is
65
used, three samples per pixel (red, green, and blue). The
66
resulting images are always planar configuration contiguous.
67
For this reason, this program is a useful utility for
68
transform exotic TIFF files into a form ingestable by almost
69
any TIFF supporting software.</td></table>
70
<a name="OPTIONS"></a>
73
<table width="100%" border=0 rules="none" frame="void"
74
cols="2" cellspacing="0" cellpadding="0">
75
<tr valign="top" align="left">
76
<td width="10%"></td><td width="90%">
77
<b>-c</b></td></table>
79
<table width="100%" border=0 rules="none" frame="void"
80
cols="2" cellspacing="0" cellpadding="0">
81
<tr valign="top" align="left">
82
<td width="21%"></td><td width="79%">
83
Specify a compression scheme to use when writing image data:
84
<b>-c none</b> for no compression (the default), <b>-c
85
packbits</b> for the PackBits compression algorithm, <b>-c
86
zip</b> for the Deflate compression algorithm, <b>-c
87
jpeg</b> for the JPEG compression algorithm, and <b>-c
88
lzw</b> for Lempel-Ziv & Welch.</td></table>
90
<table width="100%" border=0 rules="none" frame="void"
91
cols="2" cellspacing="0" cellpadding="0">
92
<tr valign="top" align="left">
93
<td width="10%"></td><td width="90%">
94
<b>-r</b></td></table>
96
<table width="100%" border=0 rules="none" frame="void"
97
cols="2" cellspacing="0" cellpadding="0">
98
<tr valign="top" align="left">
99
<td width="21%"></td><td width="79%">
100
Write data with a specified number of rows per strip; by
101
default the number of rows/strip is selected so that each
102
strip is approximately 8 kilobytes.</td></table>
104
<table width="100%" border=0 rules="none" frame="void"
105
cols="2" cellspacing="0" cellpadding="0">
106
<tr valign="top" align="left">
107
<td width="10%"></td><td width="90%">
108
<b>-b</b></td></table>
110
<table width="100%" border=0 rules="none" frame="void"
111
cols="2" cellspacing="0" cellpadding="0">
112
<tr valign="top" align="left">
113
<td width="21%"></td><td width="79%">
114
Process the image one block (strip/tile) at a time instead
115
of by reading the whole image into memory at once. This may
116
be necessary for very large images on systems with limited
119
<table width="100%" border=0 rules="none" frame="void"
120
cols="2" cellspacing="0" cellpadding="0">
121
<tr valign="top" align="left">
122
<td width="10%"></td><td width="90%">
123
<b>-n</b></td></table>
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="21%"></td><td width="79%">
129
Drop the alpha component from the output file, producing a
130
pure RGB file. Currently this does not work if the -b flag
131
is also in effect.</td></table>
132
<a name="SEE ALSO"></a>
135
<table width="100%" border=0 rules="none" frame="void"
136
cols="2" cellspacing="0" cellpadding="0">
137
<tr valign="top" align="left">
138
<td width="10%"></td><td width="90%">
139
<i>tiff2bw</i>(1), <i>TIFFReadRGBAImage</i>(3t),
140
<i>libtiff</i>(3)</td></table>