Blame html/man/tiffdither.1.html

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
<html>
Packit Service 2594b8
<head>
Packit Service 2594b8
<meta name="generator" content="groff -Thtml, see www.gnu.org">
Packit Service 2594b8
<meta name="Content-Style" content="text/css">
Packit Service 2594b8
<title>TIFFDITHER</title>
Packit Service 2594b8
</head>
Packit Service 2594b8
<body>
Packit Service 2594b8
Packit Service 2594b8

TIFFDITHER

Packit Service 2594b8
NAME
Packit Service 2594b8
SYNOPSIS
Packit Service 2594b8
DESCRIPTION
Packit Service 2594b8
OPTIONS
Packit Service 2594b8
NOTES
Packit Service 2594b8
SEE ALSO
Packit Service 2594b8
Packit Service 2594b8

Packit Service 2594b8
Packit Service 2594b8

NAME

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

tiffdither − convert a greyscale image to bilevel

Packit Service 2594b8
using dithering

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

SYNOPSIS

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

tiffdither [ options ] input.tif

Packit Service 2594b8
output.tif

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

DESCRIPTION

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

tiffdither converts a single channel 8-bit

Packit Service 2594b8
greyscale image to a bilevel image using Floyd-Steinberg
Packit Service 2594b8
error propagation with thresholding.

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

OPTIONS

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="5" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

−c

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

Specify the compression to use for data written to the

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

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

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

Packit Service 2594b8
algorithms can only be used with bilevel data.

Packit Service 2594b8
Packit Service 2594b8

Group 3 compression can be specified together with

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

Packit Service 2594b8
Packit Service 2594b8

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

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

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="5" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

−f

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

Specify the bit fill order to use in writing output

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

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

−r

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

Make each strip have no more than the given number of rows.

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

−t

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

Set the threshold value for dithering. By default the

Packit Service 2594b8
threshold value is 128.

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

NOTES

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

The dither algorithm is taken from the

Packit Service 2594b8
tiffmedian(1) program (written by Paul Heckbert).

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

SEE ALSO

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
       cols="2" cellspacing="0" cellpadding="0">
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

pal2rgb(1), fax2tiff(1),

Packit Service 2594b8
tiffinfo(1), tiffcp(1), tiff2bw(1),
Packit Service 2594b8
libtiff(3TIFF)

Packit Service 2594b8
Packit Service 2594b8

Libtiff library home page:

Packit Service 2594b8
http://www.simplesystems.org/libtiff/

Packit Service 2594b8
Packit Service 2594b8
Packit Service 2594b8

Packit Service 2594b8
</body>
Packit Service 2594b8
</html>