MAN page from CentOS 6 libtiff-3.9.4-10.el6_5.x86_64.rpm
Section: User Commands (1)
Updated: September 20, 2005Index
pal2rgb - convert a palette colorTIFF
image to a full color image
converts a palette colorTIFF
image to a full color image byapplying the colormap of the palette image to each sampleto generate a full colorRGB
Options that affect the interpretation of input data are:
- This option overrides the default behavior ofpal2rgbin determining whether or notcolormap entries contain 16-bit or 8-bit values.By default the colormap is inspected andif no colormap entry greater than 255 is found,the colormap is assumed to have only 8-bit values; otherwise16-bit values (as required by theTIFFspecification) are assumed.The-Coption can be used to explicitly specify the number ofbits for colormap entries:-C 8for 8-bit values, -C 16for 16-bit values.
Options that affect the output file format are:
- Explicitly select the planar configuration used in organizingdata samples in the output image:-p contigfor samples packed contiguously, and-p separatefor samples stored separately.By default samples are packed.
- Use the specific compression algorithm to encoded image datain the output file:-c packbitsfor Macintosh Packbits,-c lzwfor Lempel-Ziv & Welch,-c zipfor Deflate,-c nonefor no compression.If no compression-related option is specified, the inputfile's compression algorithm is used.
- Explicitly specify the number of rows in each strip of theoutput file.If the-roption is not specified, a number is selected such that eachoutput strip has approximately 8 kilobytes of data in it.
Only 8-bit images are handled.
Libtiff library home page:http://www.remotesensing.org/libtiff/
- SEE ALSO
This document was created byman2html,using the manual pages.