1 <!-- Creator     : groff version 1.18.1 --> 
   2 <!-- CreationDate: Sat Feb 24 18:37:19 2007 --> 
   5 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org"> 
   6 <meta name=
"Content-Style" content=
"text/css"> 
  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> 
  23 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  24        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  25 <tr valign=
"top" align=
"left"> 
  28 <p>pal2rgb 
− convert a palette color
 
  29 <small>TIFF
</small> image to a full color image
</p> 
  32 <a name=
"SYNOPSIS"></a> 
  35 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  36        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  37 <tr valign=
"top" align=
"left"> 
  40 <p><b>pal2rgb
</b> [ 
<i>options
</i> ] 
<i>input.tif
 
  44 <a name=
"DESCRIPTION"></a> 
  47 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  48        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  49 <tr valign=
"top" align=
"left"> 
  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> 
  58 <a name=
"OPTIONS"></a> 
  61 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  62        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  63 <tr valign=
"top" align=
"left"> 
  66 <p>Options that affect the interpretation of input data
 
  71 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  72        cols=
"5" cellspacing=
"0" cellpadding=
"0"> 
  73 <tr valign=
"top" align=
"left"> 
  77 <p><b>−C
</b></p> 
  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> 
  97 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
  98        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
  99 <tr valign=
"top" align=
"left"> 
 102 <p>Options that affect the output file format are:
</p> 
 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> 
 112 <p><b>−p
</b></p> 
 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> 
 125 <tr valign=
"top" align=
"left"> 
 126 <td width=
"10%"></td> 
 129 <p><b>−c
</b></p> 
 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
 
 144 <tr valign=
"top" align=
"left"> 
 145 <td width=
"10%"></td> 
 148 <p><b>−r
</b></p> 
 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> 
 164 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 165        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 166 <tr valign=
"top" align=
"left"> 
 169 <p>Only 
8-bit images are handled.
</p> 
 172 <a name=
"SEE ALSO"></a> 
 175 <table width=
"100%" border=
0 rules=
"none" frame=
"void" 
 176        cols=
"2" cellspacing=
"0" cellpadding=
"0"> 
 177 <tr valign=
"top" align=
"left"> 
 180 <p><b>tiffinfo
</b>(
1), 
<b>tiffcp
</b>(
1),
 
 181 <b>tiffmedian
</b>(
1), 
<b>libtiff
</b>(
3)
</p> 
 183 <p>Libtiff library home page:
 
 184 <b>http://www.remotesensing.org/libtiff/
</b></p>