author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 06 Jul 2010 15:10:48 +0300 | |
changeset 30 | 5dc02b23752f |
parent 0 | 1918ee327afb |
permissions | -rw-r--r-- |
0 | 1 |
<!-- Creator : groff version 1.18.1 --> |
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
2 |
<!-- CreationDate: Fri Jul 13 17:43:19 2007 --> |
0 | 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>TIFF2RGBA</title> |
|
8 |
</head> |
|
9 |
<body> |
|
10 |
||
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> |
|
17 |
||
18 |
<hr> |
|
19 |
<a name="NAME"></a> |
|
20 |
<h2>NAME</h2> |
|
21 |
<!-- INDENTATION --> |
|
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="8%"></td> |
|
26 |
<td width="91%"> |
|
27 |
<p>tiff2rgba − convert a <small>TIFF</small> image to |
|
28 |
RGBA color space</p> |
|
29 |
</td> |
|
30 |
</table> |
|
31 |
<a name="SYNOPSIS"></a> |
|
32 |
<h2>SYNOPSIS</h2> |
|
33 |
<!-- INDENTATION --> |
|
34 |
<table width="100%" border=0 rules="none" frame="void" |
|
35 |
cols="2" cellspacing="0" cellpadding="0"> |
|
36 |
<tr valign="top" align="left"> |
|
37 |
<td width="8%"></td> |
|
38 |
<td width="91%"> |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
39 |
<p><b>tiff2rgba</b> [ <i>options</i> ] <i>input.tif |
0 | 40 |
output.tif</i></p> |
41 |
</td> |
|
42 |
</table> |
|
43 |
<a name="DESCRIPTION"></a> |
|
44 |
<h2>DESCRIPTION</h2> |
|
45 |
<!-- INDENTATION --> |
|
46 |
<table width="100%" border=0 rules="none" frame="void" |
|
47 |
cols="2" cellspacing="0" cellpadding="0"> |
|
48 |
<tr valign="top" align="left"> |
|
49 |
<td width="8%"></td> |
|
50 |
<td width="91%"> |
|
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 |
|
56 |
image.</p> |
|
57 |
<!-- INDENTATION --> |
|
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> |
|
64 |
<!-- INDENTATION --> |
|
65 |
<p>The generated images are stripped images with four |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
66 |
samples per pixel (red, green, blue and alpha) or if the |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
67 |
<b>−n</b> flag is used, three samples per pixel (red, |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
68 |
green, and blue). The resulting images are always planar |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
69 |
configuration contiguous. For this reason, this program is a |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
70 |
useful utility for transform exotic TIFF files into a form |
0 | 71 |
ingestible by almost any TIFF supporting software.</p> |
72 |
</td> |
|
73 |
</table> |
|
74 |
<a name="OPTIONS"></a> |
|
75 |
<h2>OPTIONS</h2> |
|
76 |
<!-- TABS --> |
|
77 |
<table width="100%" border=0 rules="none" frame="void" |
|
78 |
cols="5" cellspacing="0" cellpadding="0"> |
|
79 |
<tr valign="top" align="left"> |
|
80 |
<td width="11%"></td> |
|
81 |
<td width="2%"> |
|
82 |
||
83 |
<p><b>−c</b></p> |
|
84 |
</td> |
|
85 |
<td width="5%"></td> |
|
86 |
<td width="80%"> |
|
87 |
||
88 |
<p>Specify a compression scheme to use when writing image |
|
89 |
data: <b>−c none</b> for no compression (the default), |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
90 |
<b>−c packbits</b> for the PackBits compression |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
91 |
algorithm, <b>−c zip</b> for the Deflate compression |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
92 |
algorithm, <b>−c jpeg</b> for the JPEG compression |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
93 |
algorithm, and <b>−c lzw</b> for Lempel-Ziv & |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
94 |
Welch.</p> |
0 | 95 |
</td> |
96 |
<td width="0%"> |
|
97 |
</td> |
|
98 |
<tr valign="top" align="left"> |
|
99 |
<td width="11%"></td> |
|
100 |
<td width="2%"> |
|
101 |
||
102 |
<p><b>−r</b></p> |
|
103 |
</td> |
|
104 |
<td width="5%"></td> |
|
105 |
<td width="80%"> |
|
106 |
||
107 |
<p>Write data with a specified number of rows per strip; by |
|
108 |
default the number of rows/strip is selected so that each |
|
109 |
strip is approximately 8 kilobytes.</p> |
|
110 |
</td> |
|
111 |
<td width="0%"> |
|
112 |
</td> |
|
113 |
<tr valign="top" align="left"> |
|
114 |
<td width="11%"></td> |
|
115 |
<td width="2%"> |
|
116 |
||
117 |
<p><b>−b</b></p> |
|
118 |
</td> |
|
119 |
<td width="5%"></td> |
|
120 |
<td width="80%"> |
|
121 |
||
122 |
<p>Process the image one block (strip/tile) at a time |
|
123 |
instead of by reading the whole image into memory at once. |
|
124 |
This may be necessary for very large images on systems with |
|
125 |
limited RAM.</p> |
|
126 |
</td> |
|
127 |
<td width="0%"> |
|
128 |
</td> |
|
129 |
<tr valign="top" align="left"> |
|
130 |
<td width="11%"></td> |
|
131 |
<td width="2%"> |
|
132 |
||
133 |
<p><b>−n</b></p> |
|
134 |
</td> |
|
135 |
<td width="5%"></td> |
|
136 |
<td width="80%"> |
|
137 |
||
138 |
<p>Drop the alpha component from the output file, producing |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
139 |
a pure RGB file. Currently this does not work if the |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
140 |
<b>−b</b> flag is also in effect.</p> |
0 | 141 |
</td> |
142 |
<td width="0%"> |
|
143 |
</td> |
|
144 |
</table> |
|
145 |
<a name="SEE ALSO"></a> |
|
146 |
<h2>SEE ALSO</h2> |
|
147 |
<!-- INDENTATION --> |
|
148 |
<table width="100%" border=0 rules="none" frame="void" |
|
149 |
cols="2" cellspacing="0" cellpadding="0"> |
|
150 |
<tr valign="top" align="left"> |
|
151 |
<td width="8%"></td> |
|
152 |
<td width="91%"> |
|
153 |
<p><b>tiff2bw</b>(1), <b>TIFFReadRGBAImage</b>(3t), |
|
154 |
<b>libtiff</b>(3)</p> |
|
155 |
<!-- INDENTATION --> |
|
156 |
<p>Libtiff library home page: |
|
157 |
<b>http://www.remotesensing.org/libtiff/</b></p> |
|
158 |
</td> |
|
159 |
</table> |
|
160 |
<hr> |
|
161 |
</body> |
|
162 |
</html> |