Blame html/man/tiffdither.1.html

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

TIFFDITHER

Packit 85355f
NAME
Packit 85355f
SYNOPSIS
Packit 85355f
DESCRIPTION
Packit 85355f
OPTIONS
Packit 85355f
NOTES
Packit 85355f
SEE ALSO
Packit 85355f
Packit 85355f

Packit 85355f
Packit 85355f

NAME

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

tiffdither − convert a greyscale image to bilevel

Packit 85355f
using dithering

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

SYNOPSIS

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

tiffdither [ options ] input.tif

Packit 85355f
output.tif

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

DESCRIPTION

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

tiffdither converts a single channel 8-bit

Packit 85355f
greyscale image to a bilevel image using Floyd-Steinberg
Packit 85355f
error propagation with thresholding.

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

OPTIONS

Packit 85355f
Packit 85355f
Packit 85355f
       cols="5" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

−c

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

Specify the compression to use for data written to the

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

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

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

Packit 85355f
algorithms can only be used with bilevel data.

Packit 85355f
Packit 85355f

Group 3 compression can be specified together with

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

Packit 85355f
Packit 85355f

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

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

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
       cols="5" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

−f

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

Specify the bit fill order to use in writing output

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

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

−r

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

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

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

−t

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

Set the threshold value for dithering. By default the

Packit 85355f
threshold value is 128.

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

NOTES

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

The dither algorithm is taken from the

Packit 85355f
tiffmedian(1) program (written by Paul Heckbert).

Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

SEE ALSO

Packit 85355f
Packit 85355f
Packit 85355f
       cols="2" cellspacing="0" cellpadding="0">
Packit 85355f
Packit 85355f
Packit 85355f
Packit 85355f

pal2rgb(1), fax2tiff(1),

Packit 85355f
tiffinfo(1), tiffcp(1), tiff2bw(1),
Packit 85355f
libtiff(3TIFF)

Packit 85355f
Packit 85355f

Libtiff library home page:

Packit 85355f
http://www.simplesystems.org/libtiff/

Packit 85355f
Packit 85355f
Packit 85355f

Packit 85355f
</body>
Packit 85355f
</html>