2 .\" Copyright (c) 1990-1997 Sam Leffler
3 .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
5 .\" Permission to use, copy, modify, distribute, and sell this software and
6 .\" its documentation for any purpose is hereby granted without fee, provided
7 .\" that (i) the above copyright notices and this permission notice appear in
8 .\" all copies of the software and related documentation, and (ii) the names of
9 .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
10 .\" publicity relating to the software without the specific, prior written
11 .\" permission of Sam Leffler and Silicon Graphics.
13 .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
14 .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
15 .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
17 .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
18 .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
19 .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
20 .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
21 .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
25 .TH TIFFDITHER 1 "September 20, 2005" "libtiff"
27 tiffdither \- convert a greyscale image to bilevel using dithering
37 converts a single channel 8-bit greyscale image to a bilevel image
38 using Floyd-Steinberg error propagation with thresholding.
42 Specify the compression to use for data written to the output file:
46 for PackBits compression,
48 for Lempel-Ziv & Welch compression,
50 for Deflate compression,
52 for CCITT Group 3 (T.4) compression,
55 for CCITT Group 4 (T.6) compression.
58 will compress data according to the value of the
60 tag found in the source file.
64 Group 3 and Group 4 compression algorithms can only
65 be used with bilevel data.
67 Group 3 compression can be specified together with several
70 for 1-dimensional encoding,
72 for 2-dimensional encoding,
75 to force each encoded scanline to be zero-filled so that the
76 terminating EOL code lies on a byte boundary.
77 Group 3-specific options are specified by appending a ``:''-separated
78 list to the ``g3'' option; e.g.
80 to get 2D-encoded data with byte-aligned EOL codes.
83 compression can be specified together with a
86 A predictor value of 2 causes
87 each scanline of the output image to undergo horizontal
88 differencing before it is encoded; a value
89 of 1 forces each scanline to be encoded without differencing.
90 LZW-specific options are specified by appending a ``:''-separated
91 list to the ``lzw'' option; e.g.
95 compression with horizontal differencing.
98 Specify the bit fill order to use in writing output data.
101 will create a new file with the same fill order as the original.
104 will force data to be written with the
110 will force data to be written with the
116 Set the threshold value for dithering.
117 By default the threshold value is 128.
119 The dither algorithm is taken from the
121 program (written by Paul Heckbert).
130 Libtiff library home page:
131 .BR http://www.remotesensing.org/libtiff/