]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/man/pal2rgb.1
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / tiff / man / pal2rgb.1
CommitLineData
80ed523f 1.\" $Id: pal2rgb.1,v 1.3 2005-11-02 11:07:19 dron Exp $
8414a40c
VZ
2.\"
3.\" Copyright (c) 1990-1997 Sam Leffler
4.\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
5.\"
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.
13.\"
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.
17.\"
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
23.\" OF THIS SOFTWARE.
24.\"
25.if n .po 0
26.TH PAL2RGB 1 "September 20, 2005" "libtiff"
27.SH NAME
28pal2rgb \- convert a palette color
29.SM TIFF
30image to a full color image
31.SH SYNOPSIS
32.B pal2rgb
33[
34.I options
35]
36.I input.tif
37.I output.tif
38.SH DESCRIPTION
39.I Pal2rgb
40converts a palette color
41.SM TIFF
42image to a full color image by
43applying the colormap of the palette image to each sample
44to generate a full color
45.SM RGB
46image.
47.SH OPTIONS
48Options that affect the interpretation of input data are:
49.TP
50.B \-C
51This option overrides the default behavior of
52.I pal2rgb
53in determining whether or not
54colormap entries contain 16-bit or 8-bit values.
55By default the colormap is inspected and
56if no colormap entry greater than 255 is found,
57the colormap is assumed to have only 8-bit values; otherwise
5816-bit values (as required by the
59.SM TIFF
60specification) are assumed.
61The
62.B \-C
63option can be used to explicitly specify the number of
64bits for colormap entries:
65.B "\-C 8"
66for 8-bit values,
67.B "\-C 16"
68for 16-bit values.
69.PP
70Options that affect the output file format are:
71.TP
72.B \-p
73Explicitly select the planar configuration used in organizing
74data samples in the output image:
75.B "\-p contig"
76for samples packed contiguously, and
77.B "\-p separate"
78for samples stored separately.
79By default samples are packed.
80.TP
81.B \-c
82Use the specific compression algorithm to encoded image data
83in the output file:
84.B "\-c packbits"
85for Macintosh Packbits,
86.B "\-c lzw"
87for Lempel-Ziv & Welch,
88.B "\-c zip"
89for Deflate,
90.B "\-c none"
91for no compression.
92If no compression-related option is specified, the input
93file's compression algorithm is used.
94.TP
95.B \-r
96Explicitly specify the number of rows in each strip of the
97output file.
98If the
99.B \-r
100option is not specified, a number is selected such that each
101output strip has approximately 8 kilobytes of data in it.
102.SH BUGS
103Only 8-bit images are handled.
104.SH "SEE ALSO"
105.BR tiffinfo (1),
106.BR tiffcp (1),
107.BR tiffmedian (1),
108.BR libtiff (3)
109.PP
110Libtiff library home page:
111.BR http://www.remotesensing.org/libtiff/