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:18 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>PAL2RGB</title> |
|
8 |
</head> |
|
9 |
<body> |
|
10 |
||
11 |
<h1 align=center>PAL2RGB</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> |
|
18 |
||
19 |
<hr> |
|
20 |
<a name="NAME"></a> |
|
21 |
<h2>NAME</h2> |
|
22 |
<!-- INDENTATION --> |
|
23 |
<table width="100%" border=0 rules="none" frame="void" |
|
24 |
cols="2" cellspacing="0" cellpadding="0"> |
|
25 |
<tr valign="top" align="left"> |
|
26 |
<td width="8%"></td> |
|
27 |
<td width="91%"> |
|
28 |
<p>pal2rgb − convert a palette color |
|
29 |
<small>TIFF</small> image to a full color image</p> |
|
30 |
</td> |
|
31 |
</table> |
|
32 |
<a name="SYNOPSIS"></a> |
|
33 |
<h2>SYNOPSIS</h2> |
|
34 |
<!-- INDENTATION --> |
|
35 |
<table width="100%" border=0 rules="none" frame="void" |
|
36 |
cols="2" cellspacing="0" cellpadding="0"> |
|
37 |
<tr valign="top" align="left"> |
|
38 |
<td width="8%"></td> |
|
39 |
<td width="91%"> |
|
40 |
<p><b>pal2rgb</b> [ <i>options</i> ] <i>input.tif |
|
41 |
output.tif</i></p> |
|
42 |
</td> |
|
43 |
</table> |
|
44 |
<a name="DESCRIPTION"></a> |
|
45 |
<h2>DESCRIPTION</h2> |
|
46 |
<!-- INDENTATION --> |
|
47 |
<table width="100%" border=0 rules="none" frame="void" |
|
48 |
cols="2" cellspacing="0" cellpadding="0"> |
|
49 |
<tr valign="top" align="left"> |
|
50 |
<td width="8%"></td> |
|
51 |
<td width="91%"> |
|
52 |
<p><i>Pal2rgb</i> converts a palette color |
|
53 |
<small>TIFF</small> image to a full color image by applying |
|
54 |
the colormap of the palette image to each sample to generate |
|
55 |
a full color <small>RGB</small> image.</p> |
|
56 |
</td> |
|
57 |
</table> |
|
58 |
<a name="OPTIONS"></a> |
|
59 |
<h2>OPTIONS</h2> |
|
60 |
<!-- INDENTATION --> |
|
61 |
<table width="100%" border=0 rules="none" frame="void" |
|
62 |
cols="2" cellspacing="0" cellpadding="0"> |
|
63 |
<tr valign="top" align="left"> |
|
64 |
<td width="8%"></td> |
|
65 |
<td width="91%"> |
|
66 |
<p>Options that affect the interpretation of input data |
|
67 |
are:</p> |
|
68 |
</td> |
|
69 |
</table> |
|
70 |
<!-- TABS --> |
|
71 |
<table width="100%" border=0 rules="none" frame="void" |
|
72 |
cols="5" cellspacing="0" cellpadding="0"> |
|
73 |
<tr valign="top" align="left"> |
|
74 |
<td width="11%"></td> |
|
75 |
<td width="2%"> |
|
76 |
||
77 |
<p><b>−C</b></p> |
|
78 |
</td> |
|
79 |
<td width="5%"></td> |
|
80 |
<td width="80%"> |
|
81 |
||
82 |
<p>This option overrides the default behavior of |
|
83 |
<i>pal2rgb</i> in determining whether or not colormap |
|
84 |
entries contain 16-bit or 8-bit values. By default the |
|
85 |
colormap is inspected and if no colormap entry greater than |
|
86 |
255 is found, the colormap is assumed to have only 8-bit |
|
87 |
values; otherwise 16-bit values (as required by the |
|
88 |
<small>TIFF</small> specification) are assumed. The |
|
89 |
<b>−C</b> option can be used to explicitly specify the |
|
90 |
number of bits for colormap entries: <b>−C 8</b> for |
|
91 |
8-bit values, <b>−C 16</b> for 16-bit values.</p> |
|
92 |
</td> |
|
93 |
<td width="0%"> |
|
94 |
</td> |
|
95 |
</table> |
|
96 |
<!-- INDENTATION --> |
|
97 |
<table width="100%" border=0 rules="none" frame="void" |
|
98 |
cols="2" cellspacing="0" cellpadding="0"> |
|
99 |
<tr valign="top" align="left"> |
|
100 |
<td width="8%"></td> |
|
101 |
<td width="91%"> |
|
102 |
<p>Options that affect the output file format are:</p> |
|
103 |
</td> |
|
104 |
</table> |
|
105 |
<!-- TABS --> |
|
106 |
<table width="100%" border=0 rules="none" frame="void" |
|
107 |
cols="5" cellspacing="0" cellpadding="0"> |
|
108 |
<tr valign="top" align="left"> |
|
109 |
<td width="10%"></td> |
|
110 |
<td width="5%"> |
|
111 |
||
112 |
<p><b>−p</b></p> |
|
113 |
</td> |
|
114 |
<td width="3%"></td> |
|
115 |
<td width="80%"> |
|
116 |
||
117 |
<p>Explicitly select the planar configuration used in |
|
118 |
organizing data samples in the output image: <b>−p |
|
119 |
contig</b> for samples packed contiguously, and <b>−p |
|
120 |
separate</b> for samples stored separately. By default |
|
121 |
samples are packed.</p> |
|
122 |
</td> |
|
123 |
<td width="0%"> |
|
124 |
</td> |
|
125 |
<tr valign="top" align="left"> |
|
126 |
<td width="10%"></td> |
|
127 |
<td width="5%"> |
|
128 |
||
129 |
<p><b>−c</b></p> |
|
130 |
</td> |
|
131 |
<td width="3%"></td> |
|
132 |
<td width="80%"> |
|
133 |
||
134 |
<p>Use the specific compression algorithm to encoded image |
|
135 |
data in the output file: <b>−c packbits</b> for |
|
136 |
Macintosh Packbits, <b>−c lzw</b> for Lempel-Ziv & |
|
137 |
Welch, <b>−c zip</b> for Deflate, <b>−c none</b> |
|
138 |
for no compression. If no compression-related option is |
|
139 |
specified, the input file’s compression algorithm is |
|
140 |
used.</p> |
|
141 |
</td> |
|
142 |
<td width="0%"> |
|
143 |
</td> |
|
144 |
<tr valign="top" align="left"> |
|
145 |
<td width="10%"></td> |
|
146 |
<td width="5%"> |
|
147 |
||
148 |
<p><b>−r</b></p> |
|
149 |
</td> |
|
150 |
<td width="3%"></td> |
|
151 |
<td width="80%"> |
|
152 |
||
153 |
<p>Explicitly specify the number of rows in each strip of |
|
154 |
the output file. If the <b>−r</b> option is not |
|
155 |
specified, a number is selected such that each output strip |
|
156 |
has approximately 8 kilobytes of data in it.</p> |
|
157 |
</td> |
|
158 |
<td width="0%"> |
|
159 |
</td> |
|
160 |
</table> |
|
161 |
<a name="BUGS"></a> |
|
162 |
<h2>BUGS</h2> |
|
163 |
<!-- INDENTATION --> |
|
164 |
<table width="100%" border=0 rules="none" frame="void" |
|
165 |
cols="2" cellspacing="0" cellpadding="0"> |
|
166 |
<tr valign="top" align="left"> |
|
167 |
<td width="8%"></td> |
|
168 |
<td width="91%"> |
|
169 |
<p>Only 8-bit images are handled.</p> |
|
170 |
</td> |
|
171 |
</table> |
|
172 |
<a name="SEE ALSO"></a> |
|
173 |
<h2>SEE ALSO</h2> |
|
174 |
<!-- INDENTATION --> |
|
175 |
<table width="100%" border=0 rules="none" frame="void" |
|
176 |
cols="2" cellspacing="0" cellpadding="0"> |
|
177 |
<tr valign="top" align="left"> |
|
178 |
<td width="8%"></td> |
|
179 |
<td width="91%"> |
|
180 |
<p><b>tiffinfo</b>(1), <b>tiffcp</b>(1), |
|
181 |
<b>tiffmedian</b>(1), <b>libtiff</b>(3)</p> |
|
182 |
<!-- INDENTATION --> |
|
183 |
<p>Libtiff library home page: |
|
184 |
<b>http://www.remotesensing.org/libtiff/</b></p> |
|
185 |
</td> |
|
186 |
</table> |
|
187 |
<hr> |
|
188 |
</body> |
|
189 |
</html> |