|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
<meta content="groff -Thtml, see www.gnu.org" name="generator">
|
|
roentgen |
b75cab |
<meta content="text/css" name="Content-Style">
|
|
roentgen |
b75cab |
<title>TIFFDITHER</title>
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
TIFFDITHER
|
|
roentgen |
b75cab |
NAME
|
|
roentgen |
b75cab |
SYNOPSIS
|
|
roentgen |
b75cab |
DESCRIPTION
|
|
roentgen |
b75cab |
OPTIONS
|
|
roentgen |
b75cab |
NOTES
|
|
roentgen |
b75cab |
SEE ALSO
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
NAME
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="2" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
tiffdither − convert a greyscale image to bilevel
|
|
roentgen |
b75cab |
using dithering
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
SYNOPSIS
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="2" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
tiffdither [ options ] input.tif
|
|
roentgen |
b75cab |
output.tif
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
DESCRIPTION
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="2" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
tiffdither converts a single channel 8-bit
|
|
roentgen |
b75cab |
greyscale image to a bilevel image using Floyd-Steinberg
|
|
roentgen |
b75cab |
error propagation with thresholding.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
OPTIONS
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="5" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
−c
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
Specify the compression to use for data written to the
|
|
roentgen |
b75cab |
output file: none for no compression, packbits
|
|
roentgen |
b75cab |
for PackBits compression, lzw for Lempel-Ziv &
|
|
roentgen |
b75cab |
Welch compression, zip for Deflate compression,
|
|
roentgen |
b75cab |
g3 for CCITT Group 3 (T.4) compression, and g4
|
|
roentgen |
b75cab |
for CCITT Group 4 (T.6) compression. By default
|
|
roentgen |
b75cab |
tiffdither will compress data according to the value
|
|
roentgen |
b75cab |
of the Compression tag found in the source file.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="2" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
The <small>CCITT</small> Group 3 and Group 4 compression
|
|
roentgen |
b75cab |
algorithms can only be used with bilevel data.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
Group 3 compression can be specified together with
|
|
roentgen |
b75cab |
several T.4-specific options: 1d for 1-dimensional
|
|
roentgen |
b75cab |
encoding, 2d for 2-dimensional encoding, and
|
|
roentgen |
b75cab |
fill to force each encoded scanline to be zero-filled
|
|
roentgen |
b75cab |
so that the terminating EOL code lies on a byte boundary.
|
|
roentgen |
b75cab |
Group 3-specific options are specified by appending a
|
|
roentgen |
b75cab |
‘‘:’’-separated list to the
|
|
roentgen |
b75cab |
‘‘g3’’ option; e.g. −c
|
|
roentgen |
b75cab |
g3:2d:fill to get 2D-encoded data with byte-aligned EOL
|
|
roentgen |
b75cab |
codes.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
<small>LZW</small> compression can be specified together
|
|
roentgen |
b75cab |
with a predictor value. A predictor value of 2 causes
|
|
roentgen |
b75cab |
each scanline of the output image to undergo horizontal
|
|
roentgen |
b75cab |
differencing before it is encoded; a value of 1 forces each
|
|
roentgen |
b75cab |
scanline to be encoded without differencing. LZW-specific
|
|
roentgen |
b75cab |
options are specified by appending a
|
|
roentgen |
b75cab |
‘‘:’’-separated list to the
|
|
roentgen |
b75cab |
‘‘lzw’’ option; e.g. −c
|
|
roentgen |
b75cab |
lzw:2 for <small>LZW</small> compression with horizontal
|
|
roentgen |
b75cab |
differencing.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="5" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
−f
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
Specify the bit fill order to use in writing output
|
|
roentgen |
b75cab |
data. By default, tiffdither will create a new file
|
|
roentgen |
b75cab |
with the same fill order as the original. Specifying
|
|
roentgen |
b75cab |
−f lsb2msb will force data to be written with
|
|
roentgen |
b75cab |
the FillOrder tag set to <small>LSB2MSB ,</small>
|
|
roentgen |
b75cab |
while −f msb2lsb will force data to be written
|
|
roentgen |
b75cab |
with the Fill- Order tag set to <small>MSB2LSB</small>
|
|
roentgen |
b75cab |
.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
−t
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
Set the threshold value for dithering. By default the
|
|
roentgen |
b75cab |
threshold value is 128.
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
NOTES
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="2" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
The dither algorithm is taken from the
|
|
roentgen |
b75cab |
tiffmedian(1) program (written by Paul Heckbert).
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
SEE ALSO
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
cols="2" cellspacing="0" cellpadding="0">
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
pal2rgb(1), fax2tiff(1),
|
|
roentgen |
b75cab |
tiffinfo(1), tiffcp(1), tiff2bw(1),
|
|
roentgen |
b75cab |
libtiff(3TIFF)
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
Libtiff library home page:
|
|
roentgen |
b75cab |
http://www.remotesensing.org/libtiff/
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|
|
roentgen |
b75cab |
|