MAN page from CentOS 6 libtiff-3.9.4-10.el6_5.x86_64.rpm
PAL2RGB
Section: User Commands (1)
Updated: September 20, 2005
Index NAME
pal2rgb - convert a palette color
TIFFimage to a full color image
SYNOPSIS
pal2rgb[
options]
input.tifoutput.tif DESCRIPTION
Pal2rgbconverts a palette color
TIFFimage to a full color image byapplying the colormap of the palette image to each sampleto generate a full color
RGBimage.
OPTIONS
Options that affect the interpretation of input data are:
- -C
- 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:
- -p
- 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.
- -c
- 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.
- -r
- 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.
BUGS
Only 8-bit images are handled.
SEE ALSO
tiffinfo(1),
tiffcp(1),
tiffmedian(1),
libtiff(3)
Libtiff library home page:http://www.remotesensing.org/libtiff/
Index
- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- BUGS
- SEE ALSO
This document was created byman2html,using the manual pages.