kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
<meta content="groff -Thtml, see www.gnu.org" name="generator">
kusano 7d535a
<meta content="text/css" name="Content-Style">
kusano 7d535a
<title>TIFFDITHER</title>
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

TIFFDITHER

kusano 7d535a
NAME
kusano 7d535a
SYNOPSIS
kusano 7d535a
DESCRIPTION
kusano 7d535a
OPTIONS
kusano 7d535a
NOTES
kusano 7d535a
SEE ALSO
kusano 7d535a
kusano 7d535a

kusano 7d535a
kusano 7d535a

NAME

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

tiffdither − convert a greyscale image to bilevel

kusano 7d535a
using dithering

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

SYNOPSIS

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

tiffdither [ options ] input.tif

kusano 7d535a
output.tif

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

DESCRIPTION

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

tiffdither converts a single channel 8-bit

kusano 7d535a
greyscale image to a bilevel image using Floyd-Steinberg
kusano 7d535a
error propagation with thresholding.

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

OPTIONS

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="5" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

−c

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

Specify the compression to use for data written to the

kusano 7d535a
output file: none for no compression, packbits
kusano 7d535a
for PackBits compression, lzw for Lempel-Ziv &
kusano 7d535a
Welch compression, zip for Deflate compression,
kusano 7d535a
g3 for CCITT Group 3 (T.4) compression, and g4
kusano 7d535a
for CCITT Group 4 (T.6) compression. By default
kusano 7d535a
tiffdither will compress data according to the value
kusano 7d535a
of the Compression tag found in the source file.

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

The <small>CCITT</small> Group 3 and Group 4 compression

kusano 7d535a
algorithms can only be used with bilevel data.

kusano 7d535a
kusano 7d535a

Group 3 compression can be specified together with

kusano 7d535a
several T.4-specific options: 1d for 1-dimensional
kusano 7d535a
encoding, 2d for 2-dimensional encoding, and
kusano 7d535a
fill to force each encoded scanline to be zero-filled
kusano 7d535a
so that the terminating EOL code lies on a byte boundary.
kusano 7d535a
Group 3-specific options are specified by appending a
kusano 7d535a
‘‘:’’-separated list to the
kusano 7d535a
‘‘g3’’ option; e.g. −c
kusano 7d535a
g3:2d:fill to get 2D-encoded data with byte-aligned EOL
kusano 7d535a
codes.

kusano 7d535a
kusano 7d535a

<small>LZW</small> compression can be specified together

kusano 7d535a
with a predictor value. A predictor value of 2 causes
kusano 7d535a
each scanline of the output image to undergo horizontal
kusano 7d535a
differencing before it is encoded; a value of 1 forces each
kusano 7d535a
scanline to be encoded without differencing. LZW-specific
kusano 7d535a
options are specified by appending a
kusano 7d535a
‘‘:’’-separated list to the
kusano 7d535a
‘‘lzw’’ option; e.g. −c
kusano 7d535a
lzw:2 for <small>LZW</small> compression with horizontal
kusano 7d535a
differencing.

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="5" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

−f

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

Specify the bit fill order to use in writing output

kusano 7d535a
data. By default, tiffdither will create a new file
kusano 7d535a
with the same fill order as the original. Specifying
kusano 7d535a
−f lsb2msb will force data to be written with
kusano 7d535a
the FillOrder tag set to <small>LSB2MSB ,</small>
kusano 7d535a
while −f msb2lsb will force data to be written
kusano 7d535a
with the Fill- Order tag set to <small>MSB2LSB</small>
kusano 7d535a
.

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

−t

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

Set the threshold value for dithering. By default the

kusano 7d535a
threshold value is 128.

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

NOTES

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

The dither algorithm is taken from the

kusano 7d535a
tiffmedian(1) program (written by Paul Heckbert).

kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

SEE ALSO

kusano 7d535a
kusano 7d535a
kusano 7d535a
       cols="2" cellspacing="0" cellpadding="0">
kusano 7d535a
kusano 7d535a
kusano 7d535a
kusano 7d535a

pal2rgb(1), fax2tiff(1),

kusano 7d535a
tiffinfo(1), tiffcp(1), tiff2bw(1),
kusano 7d535a
libtiff(3TIFF)

kusano 7d535a
kusano 7d535a

Libtiff library home page:

kusano 7d535a
http://www.remotesensing.org/libtiff/

kusano 7d535a
kusano 7d535a
kusano 7d535a

kusano 7d535a
kusano 7d535a