1<!-- Creator     : groff version 1.18.1 -->
2<!-- CreationDate: Sat Feb 24 18:37:19 2007 -->
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 &minus; 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
41output.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
54the colormap of the palette image to each sample to generate
55a 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
67are:</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>&minus;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
84entries contain 16-bit or 8-bit values. By default the
85colormap is inspected and if no colormap entry greater than
86255 is found, the colormap is assumed to have only 8-bit
87values; otherwise 16-bit values (as required by the
88<small>TIFF</small> specification) are assumed. The
89<b>&minus;C</b> option can be used to explicitly specify the
90number of bits for colormap entries: <b>&minus;C 8</b> for
918-bit values, <b>&minus;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>&minus;p</b></p>
113</td>
114<td width="3%"></td>
115<td width="80%">
116
117<p>Explicitly select the planar configuration used in
118organizing data samples in the output image: <b>&minus;p
119contig</b> for samples packed contiguously, and <b>&minus;p
120separate</b> for samples stored separately. By default
121samples 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>&minus;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
135data in the output file: <b>&minus;c packbits</b> for
136Macintosh Packbits, <b>&minus;c lzw</b> for Lempel-Ziv &amp;
137Welch, <b>&minus;c zip</b> for Deflate, <b>&minus;c none</b>
138for no compression. If no compression-related option is
139specified, the input file&rsquo;s compression algorithm is
140used.</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>&minus;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
154the output file. If the <b>&minus;r</b> option is not
155specified, a number is selected such that each output strip
156has 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.simplesystems.org/libtiff/</b></p>
185</td>
186</table>
187<hr>
188</body>
189</html>
190