1
.\" $Header: /cvsroot/osrs/libtiff/man/pal2rgb.1,v 1.1.1.1 1999/07/27 21:50:27 mike Exp $
3
.\" Copyright (c) 1990-1997 Sam Leffler
4
.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
6
.\" Permission to use, copy, modify, distribute, and sell this software and
7
.\" its documentation for any purpose is hereby granted without fee, provided
8
.\" that (i) the above copyright notices and this permission notice appear in
9
.\" all copies of the software and related documentation, and (ii) the names of
10
.\" Sam Leffler and Silicon Graphics may not be used in any advertising or
11
.\" publicity relating to the software without the specific, prior written
12
.\" permission of Sam Leffler and Silicon Graphics.
14
.\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
15
.\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
16
.\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
18
.\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
19
.\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
20
.\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
21
.\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
22
.\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
26
.TH PAL2RGB 1 "October 15, 1995"
28
pal2rgb \- convert a palette color
30
image to a full color image
40
converts a palette color
42
image to a full color image by
43
applying the colormap of the palette image to each sample
44
to generate a full color
48
Options that affect the interpretation of input data are:
51
This option overrides the default behaviour of
53
in determining whether or not
54
colormap entries contain 16-bit or 8-bit values.
55
By default the colormap is inspected and
56
if no colormap entry greater than 255 is found,
57
the colormap is assumed to have only 8-bit values; otherwise
58
16-bit values (as required by the
60
specification) are assumed.
63
option can be used to explicitly specify the number of
64
bits for colormap entries:
70
Options that affect the output file format are:
73
Explicitly select the planar configuration used in organizing
74
data samples in the output image:
76
for samples packed contiguously, and
78
for samples stored separately.
79
By default samples are packed.
82
Use the specific compression algorithm to encoded image data
85
for Macintosh Packbits,
87
for Lempel-Ziv & Welch,
92
If no compression-related option is specified, the input
93
file's compression algorithm is used.
96
Explicitly specify the number of rows in each strip of the
100
option is not specified, a number is selected such that each
101
output strip has approximately 8 kilobytes of data in it.
103
Only 8-bit images are handled.