roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
<meta content="groff -Thtml, see www.gnu.org" name="generator">
roentgen b75cab
<meta content="text/css" name="Content-Style">
roentgen b75cab
<title>PAL2RGB</title>
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

PAL2RGB

roentgen b75cab
NAME
roentgen b75cab
SYNOPSIS
roentgen b75cab
DESCRIPTION
roentgen b75cab
OPTIONS
roentgen b75cab
BUGS
roentgen b75cab
SEE ALSO
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab

NAME

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

pal2rgb − convert a palette color

roentgen b75cab
<small>TIFF</small> image to a full color image

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

SYNOPSIS

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

pal2rgb [ options ] input.tif

roentgen b75cab
output.tif

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

DESCRIPTION

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Pal2rgb converts a palette color

roentgen b75cab
<small>TIFF</small> image to a full color image by applying
roentgen b75cab
the colormap of the palette image to each sample to generate
roentgen b75cab
a full color <small>RGB</small> image.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

OPTIONS

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Options that affect the interpretation of input data

roentgen b75cab
are:

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="5" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−C

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

This option overrides the default behavior of

roentgen b75cab
pal2rgb in determining whether or not colormap
roentgen b75cab
entries contain 16-bit or 8-bit values. By default the
roentgen b75cab
colormap is inspected and if no colormap entry greater than
roentgen b75cab
255 is found, the colormap is assumed to have only 8-bit
roentgen b75cab
values; otherwise 16-bit values (as required by the
roentgen b75cab
<small>TIFF</small> specification) are assumed. The
roentgen b75cab
−C option can be used to explicitly specify the
roentgen b75cab
number of bits for colormap entries: −C 8 for
roentgen b75cab
8-bit values, −C 16 for 16-bit values.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Options that affect the output file format are:

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="5" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−p

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Explicitly select the planar configuration used in

roentgen b75cab
organizing data samples in the output image: −p
roentgen b75cab
contig for samples packed contiguously, and −p
roentgen b75cab
separate for samples stored separately. By default
roentgen b75cab
samples are packed.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−c

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Use the specific compression algorithm to encoded image

roentgen b75cab
data in the output file: −c packbits for
roentgen b75cab
Macintosh Packbits, −c lzw for Lempel-Ziv &
roentgen b75cab
Welch, −c zip for Deflate, −c none
roentgen b75cab
for no compression. If no compression-related option is
roentgen b75cab
specified, the input file’s compression algorithm is
roentgen b75cab
used.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−r

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Explicitly specify the number of rows in each strip of

roentgen b75cab
the output file. If the −r option is not
roentgen b75cab
specified, a number is selected such that each output strip
roentgen b75cab
has approximately 8 kilobytes of data in it.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

BUGS

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Only 8-bit images are handled.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

SEE ALSO

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

tiffinfo(1), tiffcp(1),

roentgen b75cab
tiffmedian(1), libtiff(3)

roentgen b75cab
roentgen b75cab

Libtiff library home page:

roentgen b75cab
http://www.remotesensing.org/libtiff/

roentgen b75cab
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab