2 .\" Copyright (c) 1990-1997 Sam Leffler
3 .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
5 .\" Permission to use, copy, modify, distribute, and sell this software and
6 .\" its documentation for any purpose is hereby granted without fee, provided
7 .\" that (i) the above copyright notices and this permission notice appear in
8 .\" all copies of the software and related documentation, and (ii) the names of
9 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
10 .\" publicity relating to the software without the specific, prior written
11 .\" permission of Sam Leffler and Silicon Graphics.
13 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
14 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
15 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
17 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
18 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
19 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
21 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
25 .TH PAL2RGB 1 "September 20, 2005" "libtiff"
27 pal2rgb \- convert a palette color
29 image to a full color image
39 converts a palette color
41 image to a full color image by
42 applying the colormap of the palette image to each sample
43 to generate a full color
47 Options that affect the interpretation of input data are:
50 This option overrides the default behavior of
52 in determining whether or not
53 colormap entries contain 16-bit or 8-bit values.
54 By default the colormap is inspected and
55 if no colormap entry greater than 255 is found,
56 the colormap is assumed to have only 8-bit values; otherwise
57 16-bit values (as required by the
59 specification) are assumed.
62 option can be used to explicitly specify the number of
63 bits for colormap entries:
69 Options that affect the output file format are:
72 Explicitly select the planar configuration used in organizing
73 data samples in the output image:
75 for samples packed contiguously, and
77 for samples stored separately.
78 By default samples are packed.
81 Use the specific compression algorithm to encoded image data
84 for Macintosh Packbits,
86 for Lempel-Ziv & Welch,
91 If no compression-related option is specified, the input
92 file's compression algorithm is used.
95 Explicitly specify the number of rows in each strip of the
99 option is not specified, a number is selected such that each
100 output strip has approximately 8 kilobytes of data in it.
102 Only 8-bit images are handled.
109 Libtiff library home page:
110 .BR http://www.remotesensing.org/libtiff/