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