3
<meta name="generator" content="groff -Thtml, see www.gnu.org">
4
<meta name="Content-Style" content="text/css">
9
<h1 align=center>PAL2RGB</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="#BUGS">BUGS</a><br>
15
<a href="#SEE ALSO">SEE ALSO</a><br>
18
<!-- Creator : groff version 1.17.2 -->
19
<!-- CreationDate: Mon Dec 22 00:39:31 2003 -->
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="10%"></td><td width="90%">
26
pal2rgb - convert a palette color <small>TIFF</small> image to a full color image</td></table>
27
<a name="SYNOPSIS"></a>
30
<table width="100%" border=0 rules="none" frame="void"
31
cols="2" cellspacing="0" cellpadding="0">
32
<tr valign="top" align="left">
33
<td width="10%"></td><td width="90%">
34
<b>pal2rgb</b> [ <i>options</i> ] <i>input.tif
35
output.tif</i></td></table>
36
<a name="DESCRIPTION"></a>
39
<table width="100%" border=0 rules="none" frame="void"
40
cols="2" cellspacing="0" cellpadding="0">
41
<tr valign="top" align="left">
42
<td width="10%"></td><td width="90%">
43
<i>Pal2rgb</i> converts a palette color <small>TIFF</small>
44
image to a full color image by applying the colormap of the
45
palette image to each sample to generate a full color
46
<small>RGB</small> image.</td></table>
47
<a name="OPTIONS"></a>
50
<table width="100%" border=0 rules="none" frame="void"
51
cols="2" cellspacing="0" cellpadding="0">
52
<tr valign="top" align="left">
53
<td width="10%"></td><td width="90%">
54
Options that affect the interpretation of input data
57
<table width="100%" border=0 rules="none" frame="void"
58
cols="2" cellspacing="0" cellpadding="0">
59
<tr valign="top" align="left">
60
<td width="10%"></td><td width="90%">
61
<b>-C</b></td></table>
63
<table width="100%" border=0 rules="none" frame="void"
64
cols="2" cellspacing="0" cellpadding="0">
65
<tr valign="top" align="left">
66
<td width="21%"></td><td width="79%">
67
This option overrides the default behaviour of
68
<i>pal2rgb</i> in determining whether or not colormap
69
entries contain 16-bit or 8-bit values. By default the
70
colormap is inspected and if no colormap entry greater than
71
255 is found, the colormap is assumed to have only 8-bit
72
values; otherwise 16-bit values (as required by the
73
<small>TIFF</small> specification) are assumed. The
74
<b>-C</b> option can be used to explicitly specify the
75
number of bits for colormap entries: <b>-C 8</b> for 8-bit
76
values, <b>-C 16</b> for 16-bit values.</td></table>
78
<table width="100%" border=0 rules="none" frame="void"
79
cols="2" cellspacing="0" cellpadding="0">
80
<tr valign="top" align="left">
81
<td width="10%"></td><td width="90%">
82
Options that affect the output file format are:</td></table>
84
<table width="100%" border=0 rules="none" frame="void"
85
cols="2" cellspacing="0" cellpadding="0">
86
<tr valign="top" align="left">
87
<td width="10%"></td><td width="90%">
88
<b>-p</b></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="21%"></td><td width="79%">
94
Explicitly select the planar configuration used in
95
organizing data samples in the output image: <b>-p
96
contig</b> for samples packed contiguously, and <b>-p
97
separate</b> for samples stored separately. By default
98
samples are packed.</td></table>
100
<table width="100%" border=0 rules="none" frame="void"
101
cols="2" cellspacing="0" cellpadding="0">
102
<tr valign="top" align="left">
103
<td width="10%"></td><td width="90%">
104
<b>-c</b></td></table>
106
<table width="100%" border=0 rules="none" frame="void"
107
cols="2" cellspacing="0" cellpadding="0">
108
<tr valign="top" align="left">
109
<td width="21%"></td><td width="79%">
110
Use the specific compression algorithm to encoded image data
111
in the output file: <b>-c packbits</b> for Macintosh
112
Packbits, <b>-c lzw</b> for Lempel-Ziv & Welch, <b>-c
113
zip</b> for Deflate, <b>-c none</b> for no compression. If
114
no compression-related option is specified, the input file's
115
compression algorithm is used.</td></table>
117
<table width="100%" border=0 rules="none" frame="void"
118
cols="2" cellspacing="0" cellpadding="0">
119
<tr valign="top" align="left">
120
<td width="10%"></td><td width="90%">
121
<b>-r</b></td></table>
123
<table width="100%" border=0 rules="none" frame="void"
124
cols="2" cellspacing="0" cellpadding="0">
125
<tr valign="top" align="left">
126
<td width="21%"></td><td width="79%">
127
Explicitly specify the number of rows in each strip of the
128
output file. If the <b>-r</b> option is not specified, a
129
number is selected such that each output strip has
130
approximately 8 kilobytes of data in it.</td></table>
134
<table width="100%" border=0 rules="none" frame="void"
135
cols="2" cellspacing="0" cellpadding="0">
136
<tr valign="top" align="left">
137
<td width="10%"></td><td width="90%">
138
Only 8-bit images are handled.</td></table>
139
<a name="SEE ALSO"></a>
142
<table width="100%" border=0 rules="none" frame="void"
143
cols="2" cellspacing="0" cellpadding="0">
144
<tr valign="top" align="left">
145
<td width="10%"></td><td width="90%">
146
<i>tiffinfo</i>(1), <i>tiffcp</i>(1), <i>tiffmedian</i>(1),
147
<i>libtiff</i>(3)</td></table>