1 <!-- Creator : groff version 1.18.1 -->
2 <!-- CreationDate: Sat Feb 24 18:37:20 2007 -->
5 <meta name=
"generator" content=
"groff -Thtml, see www.gnu.org">
6 <meta name=
"Content-Style" content=
"text/css">
7 <title>TIFFDITHER
</title>
11 <h1 align=center
>TIFFDITHER
</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=
"#NOTES">NOTES
</a><br>
17 <a href=
"#SEE ALSO">SEE ALSO
</a><br>
23 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
24 cols=
"2" cellspacing=
"0" cellpadding=
"0">
25 <tr valign=
"top" align=
"left">
28 <p>tiffdither
− convert a greyscale image to bilevel
32 <a name=
"SYNOPSIS"></a>
35 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
36 cols=
"2" cellspacing=
"0" cellpadding=
"0">
37 <tr valign=
"top" align=
"left">
40 <p><b>tiffdither
</b> [
<i>options
</i> ]
<i>input.tif
44 <a name=
"DESCRIPTION"></a>
47 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
48 cols=
"2" cellspacing=
"0" cellpadding=
"0">
49 <tr valign=
"top" align=
"left">
52 <p><i>tiffdither
</i> converts a single channel
8-bit
53 greyscale image to a bilevel image using Floyd-Steinberg
54 error propagation with thresholding.
</p>
57 <a name=
"OPTIONS"></a>
60 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
61 cols=
"5" cellspacing=
"0" cellpadding=
"0">
62 <tr valign=
"top" align=
"left">
66 <p><b>−c
</b></p>
71 <p>Specify the compression to use for data written to the
72 output file:
<b>none
</b> for no compression,
<b>packbits
</b>
73 for PackBits compression,
<b>lzw
</b> for Lempel-Ziv
&
74 Welch compression,
<b>zip
</b> for Deflate compression,
75 <b>g3
</b> for CCITT Group
3 (T
.4) compression, and
<b>g4
</b>
76 for CCITT Group
4 (T
.6) compression. By default
77 <i>tiffdither
</i> will compress data according to the value
78 of the
<i>Compression
</i> tag found in the source file.
</p>
84 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
85 cols=
"2" cellspacing=
"0" cellpadding=
"0">
86 <tr valign=
"top" align=
"left">
89 <p>The
<small>CCITT
</small> Group
3 and Group
4 compression
90 algorithms can only be used with bilevel data.
</p>
92 <p>Group
3 compression can be specified together with
93 several T
.4-specific options:
<b>1d
</b> for
1-dimensional
94 encoding,
<b>2d
</b> for
2-dimensional encoding, and
95 <b>fill
</b> to force each encoded scanline to be zero-filled
96 so that the terminating EOL code lies on a byte boundary.
97 Group
3-specific options are specified by appending a
98 ‘‘:
’’-separated list to the
99 ‘‘g3
’’ option; e.g.
<b>−c
100 g3:
2d:fill
</b> to get
2D-encoded data with byte-aligned EOL
103 <p><small>LZW
</small> compression can be specified together
104 with a
<i>predictor
</i> value. A predictor value of
2 causes
105 each scanline of the output image to undergo horizontal
106 differencing before it is encoded; a value of
1 forces each
107 scanline to be encoded without differencing. LZW-specific
108 options are specified by appending a
109 ‘‘:
’’-separated list to the
110 ‘‘lzw
’’ option; e.g.
<b>−c
111 lzw:
2</b> for
<small>LZW
</small> compression with horizontal
116 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
117 cols=
"5" cellspacing=
"0" cellpadding=
"0">
118 <tr valign=
"top" align=
"left">
119 <td width=
"10%"></td>
122 <p><b>−f
</b></p>
127 <p>Specify the bit fill order to use in writing output
128 data. By default,
<i>tiffdither
</i> will create a new file
129 with the same fill order as the original. Specifying
130 <b>−f lsb2msb
</b> will force data to be written with
131 the
<i>FillOrder
</i> tag set to
<small>LSB2MSB ,
</small>
132 while
<b>−f msb2lsb
</b> will force data to be written
133 with the
<i>Fill- Order
</i> tag set to
<small>MSB2LSB
138 <tr valign=
"top" align=
"left">
139 <td width=
"10%"></td>
142 <p><b>−t
</b></p>
147 <p>Set the threshold value for dithering. By default the
148 threshold value is
128.
</p>
156 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
157 cols=
"2" cellspacing=
"0" cellpadding=
"0">
158 <tr valign=
"top" align=
"left">
161 <p>The dither algorithm is taken from the
162 <b>tiffmedian
</b>(
1) program (written by Paul Heckbert).
</p>
165 <a name=
"SEE ALSO"></a>
168 <table width=
"100%" border=
0 rules=
"none" frame=
"void"
169 cols=
"2" cellspacing=
"0" cellpadding=
"0">
170 <tr valign=
"top" align=
"left">
173 <p><b>pal2rgb
</b>(
1),
<b>fax2tiff
</b>(
1),
174 <b>tiffinfo
</b>(
1),
<b>tiffcp
</b>(
1),
<b>tiff2bw
</b>(
1),
175 <b>libtiff
</b>(
3TIFF)
</p>
177 <p>Libtiff library home page:
178 <b>http://www.remotesensing.org/libtiff/
</b></p>