1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Sat Feb 24 18:37:19 2007 -->
5 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org">
6 <meta name=
"Content-Style" content=
"text/css">
11 <h1 align=center
>TIFF2BW
</h1>
12 <a href=
"#NAME">NAME
</a><br>
13 <a href=
"#SYNOPSIS">SYNOPSIS
</a><br>
14 <a href=
"#DESCRIPTION">DESCRIPTION
</a><br>
15 <a href=
"#OPTIONS">OPTIONS
</a><br>
16 <a href=
"#SEE ALSO">SEE ALSO
</a><br>
22 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
23 cols=
"2" cellspacing=
"0" cellpadding=
"0">
24 <tr valign=
"top" align=
"left">
27 <p>tiff2bw
− convert a color
<small>TIFF
</small> image
31 <a name=
"SYNOPSIS"></a>
34 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
35 cols=
"2" cellspacing=
"0" cellpadding=
"0">
36 <tr valign=
"top" align=
"left">
39 <p><b>tiff2bw
</b> [
<i>options
</i> ]
<i>input.tif
43 <a name=
"DESCRIPTION"></a>
46 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
47 cols=
"2" cellspacing=
"0" cellpadding=
"0">
48 <tr valign=
"top" align=
"left">
51 <p><i>Tiff2bw
</i> converts an
<small>RGB
</small> or Palette
52 color
<small>TIFF
</small> image to a greyscale image by
53 combining percentages of the red, green, and blue channels.
54 By default, output samples are created by taking
28% of the
55 red channel,
59% of the green channel, and
11% of the blue
56 channel. To alter these percentages, the
<b>−R
</b>,
57 <b>−G
</b>, and
<b>−B
</b> options may be
61 <a name=
"OPTIONS"></a>
64 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
65 cols=
"5" cellspacing=
"0" cellpadding=
"0">
66 <tr valign=
"top" align=
"left">
70 <p><b>−c
</b></p>
75 <p>Specify a compression scheme to use when writing image
76 data:
<b>−c none
</b> for no compression,
<b>−c
77 packbits
</b> for the PackBits compression algorithm,
78 <b>−c zip
</b> for the Deflate compression algorithm,
79 <b>−c g3
</b> for the CCITT Group
3 compression
80 algorithm,
<b>−c g4
</b> for the CCITT Group
4
81 compression algorithm, and
<b>−c lzw
</b> for
82 Lempel-Ziv
& Welch (the default).
</p>
86 <tr valign=
"top" align=
"left">
90 <p><b>−r
</b></p>
95 <p>Write data with a specified number of rows per strip; by
96 default the number of rows/strip is selected so that each
97 strip is approximately
8 kilobytes.
</p>
101 <tr valign=
"top" align=
"left">
102 <td width=
"10%"></td>
105 <p><b>−R
</b></p>
110 <p>Specify the percentage of the red channel to use
115 <tr valign=
"top" align=
"left">
116 <td width=
"10%"></td>
119 <p><b>−G
</b></p>
124 <p>Specify the percentage of the green channel to use
129 <tr valign=
"top" align=
"left">
130 <td width=
"10%"></td>
133 <p><b>−B
</b></p>
138 <p>Specify the percentage of the blue channel to use
144 <a name=
"SEE ALSO"></a>
147 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
148 cols=
"2" cellspacing=
"0" cellpadding=
"0">
149 <tr valign=
"top" align=
"left">
152 <p><b>pal2rgb
</b>(
1),
<b>tiffinfo
</b>(
1),
<b>tiffcp
</b>(
1),
153 <b>tiffmedian
</b>(
1),
<b>libtiff
</b>(
3)
</p>
155 <p>Libtiff library home page:
156 <b>http://www.remotesensing.org/libtiff/
</b></p>