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