libtiff/html/man/pal2rgb.1.html~
1999-11-23 04:29:23 +00:00

150 lines
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML><HEAD><TITLE>Manpage of PAL2RGB</TITLE>
</HEAD><BODY BGCOLOR=WHITE><FONT FACE="helvetica, sans, arial">
<H1>PAL2RGB</H1>
Section: User Commands (1)<BR>Updated: October 15, 1995<BR><A HREF="#index">Index</A>
<BR><A HREF="index.html">Return to Main Contents</A>
<HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
pal2rgb - convert a palette color
<FONT SIZE="-1">TIFF</FONT>
image to a full color image
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>pal2rgb</B>
[
<I>options</I>
]
<I>input.tif</I>
<I>output.tif</I>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<I>Pal2rgb</I>
converts a palette color
<FONT SIZE="-1">TIFF</FONT>
image to a full color image by
applying the colormap of the palette image to each sample
to generate a full color
<FONT SIZE="-1">RGB</FONT>
image.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
Options that affect the interpretation of input data are:
<DL COMPACT>
<DT><B>-C</B>
<DD>
This option overrides the default behaviour of
<I>pal2rgb</I>
in determining whether or not
colormap entries contain 16-bit or 8-bit values.
By default the colormap is inspected and
if no colormap entry greater than 255 is found,
the colormap is assumed to have only 8-bit values; otherwise
16-bit values (as required by the
<FONT SIZE="-1">TIFF</FONT>
specification) are assumed.
The
<B>-C</B>
option can be used to explicitly specify the number of
bits for colormap entries:
<B>-C 8</B>
for 8-bit values,
<B>-C 16</B>
for 16-bit values.
</DL>
<P>
Options that affect the output file format are:
<DL COMPACT>
<DT><B>-p</B>
<DD>
Explicitly select the planar configuration used in organizing
data samples in the output image:
<B>-p contig</B>
for samples packed contiguously, and
<B>-p separate</B>
for samples stored separately.
By default samples are packed.
<DT><B>-c</B>
<DD>
Use the specific compression algorithm to encoded image data
in the output file:
<B>-c packbits</B>
for Macintosh Packbits,
<B>-c lzw</B>
for Lempel-Ziv &amp; Welch,
<B>-c zip</B>
for Deflate,
<B>-c none</B>
for no compression.
If no compression-related option is specified, the input
file's compression algorithm is used.
<DT><B>-r</B>
<DD>
Explicitly specify the number of rows in each strip of the
output file.
If the
<B>-r</B>
option is not specified, a number is selected such that each
output strip has approximately 8 kilobytes of data in it.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H2>BUGS</H2>
Only 8-bit images are handled.
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
<I><A HREF="http:/cgi-bin/man2html?tiffinfo+1">tiffinfo</A></I>(1),
<I><A HREF="http:/cgi-bin/man2html?tiffcp+1">tiffcp</A></I>(1),
<I><A HREF="http:/cgi-bin/man2html?tiffmedian+1">tiffmedian</A></I>(1),
<I><A HREF="http:/cgi-bin/man2html?libtiff+3">libtiff</A></I>(3)
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">OPTIONS</A><DD>
<DT><A HREF="#lbAF">BUGS</A><DD>
<DT><A HREF="#lbAG">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="index.html">man2html</A>,
using the manual pages.<BR>
Time: 01:31:47 GMT, November 23, 1999
</BODY>
</HTML>