]> git.saurik.com Git - wxWidgets.git/blame - src/tiff/man/pal2rgb.1
Don't generate any events from wxSpinCtrl and wxSpinCtrlDouble methods.
[wxWidgets.git] / src / tiff / man / pal2rgb.1
CommitLineData
8414a40c
VZ
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
27pal2rgb \- convert a palette color
28.SM TIFF
29image 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
39converts a palette color
40.SM TIFF
41image to a full color image by
42applying the colormap of the palette image to each sample
43to generate a full color
44.SM RGB
45image.
46.SH OPTIONS
47Options that affect the interpretation of input data are:
48.TP
49.B \-C
50This option overrides the default behavior of
51.I pal2rgb
52in determining whether or not
53colormap entries contain 16-bit or 8-bit values.
54By default the colormap is inspected and
55if no colormap entry greater than 255 is found,
56the colormap is assumed to have only 8-bit values; otherwise
5716-bit values (as required by the
58.SM TIFF
59specification) are assumed.
60The
61.B \-C
62option can be used to explicitly specify the number of
63bits for colormap entries:
64.B "\-C 8"
65for 8-bit values,
66.B "\-C 16"
67for 16-bit values.
68.PP
69Options that affect the output file format are:
70.TP
71.B \-p
72Explicitly select the planar configuration used in organizing
73data samples in the output image:
74.B "\-p contig"
75for samples packed contiguously, and
76.B "\-p separate"
77for samples stored separately.
78By default samples are packed.
79.TP
80.B \-c
81Use the specific compression algorithm to encoded image data
82in the output file:
83.B "\-c packbits"
84for Macintosh Packbits,
85.B "\-c lzw"
86for Lempel-Ziv & Welch,
87.B "\-c zip"
88for Deflate,
89.B "\-c none"
90for no compression.
91If no compression-related option is specified, the input
92file's compression algorithm is used.
93.TP
94.B \-r
95Explicitly specify the number of rows in each strip of the
96output file.
97If the
98.B \-r
99option is not specified, a number is selected such that each
100output strip has approximately 8 kilobytes of data in it.
101.SH BUGS
102Only 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
109Libtiff library home page:
110.BR http://www.remotesensing.org/libtiff/