150 lines
3.1 KiB
HTML
150 lines
3.1 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"> </A>
|
||
|
<H2>NAME</H2>
|
||
|
|
||
|
pal2rgb - convert a palette color
|
||
|
<FONT SIZE="-1">TIFF</FONT>
|
||
|
image to a full color image
|
||
|
<A NAME="lbAC"> </A>
|
||
|
<H2>SYNOPSIS</H2>
|
||
|
|
||
|
<B>pal2rgb</B>
|
||
|
|
||
|
[
|
||
|
<I>options</I>
|
||
|
|
||
|
]
|
||
|
<I>input.tif</I>
|
||
|
|
||
|
<I>output.tif</I>
|
||
|
|
||
|
<A NAME="lbAD"> </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"> </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 & 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"> </A>
|
||
|
<H2>BUGS</H2>
|
||
|
|
||
|
Only 8-bit images are handled.
|
||
|
<A NAME="lbAG"> </A>
|
||
|
<H2>SEE ALSO</H2>
|
||
|
|
||
|
<I><A HREF="tiffinfo+1.html">tiffinfo</A></I>(1),
|
||
|
|
||
|
<I><A HREF="tiffcp+1.html">tiffcp</A></I>(1),
|
||
|
|
||
|
<I><A HREF="tiffmedian+1.html">tiffmedian</A></I>(1),
|
||
|
|
||
|
<I><A HREF="libtiff+3">libtiff</A></I>(3)
|
||
|
|
||
|
|
||
|
<HR>
|
||
|
<A NAME="index"> </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>
|