126 lines
2.5 KiB
HTML
126 lines
2.5 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
||
|
<HTML><HEAD><TITLE>Manpage of TIFF2BW</TITLE>
|
||
|
</HEAD><BODY BGCOLOR=WHITE><FONT FACE="helvetica, sans, arial">
|
||
|
<H1>TIFF2BW</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>
|
||
|
|
||
|
tiff2bw - convert a color
|
||
|
<FONT SIZE="-1">TIFF</FONT>
|
||
|
image to greyscale
|
||
|
<A NAME="lbAC"> </A>
|
||
|
<H2>SYNOPSIS</H2>
|
||
|
|
||
|
<B>tiff2bw</B>
|
||
|
|
||
|
[
|
||
|
options
|
||
|
]
|
||
|
<I>input.tif</I>
|
||
|
|
||
|
<I>output.tif</I>
|
||
|
|
||
|
<A NAME="lbAD"> </A>
|
||
|
<H2>DESCRIPTION</H2>
|
||
|
|
||
|
<I>Tiff2bw</I>
|
||
|
|
||
|
converts an
|
||
|
<FONT SIZE="-1">RGB</FONT>
|
||
|
or Palette color
|
||
|
<FONT SIZE="-1">TIFF</FONT>
|
||
|
image to a greyscale image by
|
||
|
combining percentages of the red, green, and blue channels.
|
||
|
By default, output samples are created by taking
|
||
|
28% of the red channel, 59% of the green channel, and 11% of
|
||
|
the blue channel.
|
||
|
To alter these percentages, the
|
||
|
<B>-R</B>,
|
||
|
|
||
|
<B>-G</B>,
|
||
|
|
||
|
and
|
||
|
<B>-B</B>
|
||
|
|
||
|
options may be used.
|
||
|
<A NAME="lbAE"> </A>
|
||
|
<H2>OPTIONS</H2>
|
||
|
|
||
|
<DL COMPACT>
|
||
|
<DT><B>-c</B>
|
||
|
|
||
|
<DD>
|
||
|
Specify a compression scheme to use when writing image data:
|
||
|
<B>-c none</B>
|
||
|
|
||
|
for no compression,
|
||
|
<B>-c packbits</B>
|
||
|
|
||
|
for the PackBits compression algorithm,
|
||
|
<B>-c zip</B>
|
||
|
|
||
|
for the Deflate compression algorithm,
|
||
|
<B>-c g3</B>
|
||
|
|
||
|
for the CCITT Group 3 compression algorithm,
|
||
|
<B>-c g4</B>
|
||
|
|
||
|
for the CCITT Group 4 compression algorithm,
|
||
|
and
|
||
|
<B>-c lzw</B>
|
||
|
|
||
|
for Lempel-Ziv & Welch (the default).
|
||
|
<DT><B>-r</B>
|
||
|
|
||
|
<DD>
|
||
|
Write data with a specified number of rows per strip;
|
||
|
by default the number of rows/strip is selected so that each strip
|
||
|
is approximately 8 kilobytes.
|
||
|
<DT><B>-R</B>
|
||
|
|
||
|
<DD>
|
||
|
Specify the percentage of the red channel to use (default 28).
|
||
|
<DT><B>-G</B>
|
||
|
|
||
|
<DD>
|
||
|
Specify the percentage of the green channel to use (default 59).
|
||
|
<DT><B>-B</B>
|
||
|
|
||
|
<DD>
|
||
|
Specify the percentage of the blue channel to use (default 11).
|
||
|
</DL>
|
||
|
<A NAME="lbAF"> </A>
|
||
|
<H2>SEE ALSO</H2>
|
||
|
|
||
|
<I><A HREF="pal2rgb+1.html">pal2rgb</A></I>(1),
|
||
|
|
||
|
<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">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>
|