Blame html/man/tiffmedian.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>TIFFMEDIAN</title>
Packit 85355f
</head>
Packit 85355f
<body>
Packit 85355f
Packit 85355f

TIFFMEDIAN

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

tiffmedian − apply the median cut algorithm to data

Packit 85355f
in a <small>TIFF</small> file

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

tiffmedian [ 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

tiffmedian applies the median cut algorithm to an

Packit 85355f
<small>RGB</small> image in input.tif to generate a
Packit 85355f
palette image that is written to output.tif. The
Packit 85355f
generated colormap has, by default, 256 entries. The image
Packit 85355f
data is quantized by mapping each pixel to the closest color
Packit 85355f
values in the colormap.

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, and zip for Deflate compression.
Packit 85355f
By default tiffmedian will compress data according to
Packit 85355f
the value of the Compression tag found in the source
Packit 85355f
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

<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

−C

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

Specify the number of entries to use in the generated

Packit 85355f
colormap. By default all 256 entries/colors are used.

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

−f

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

Apply Floyd-Steinberg dithering before selecting a

Packit 85355f
colormap entry.

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

Specify the number of rows (scanlines) in each strip of

Packit 85355f
data written to the output file. By default,
Packit 85355f
tiffmedian attempts to set the rows/strip that no
Packit 85355f
more than 8 kilobytes of data appear in a strip.

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

This program is derived from Paul Heckbert’s

Packit 85355f
median program.

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), tiffinfo(1), tiffcp(1),

Packit 85355f
tiffcmp(1), libtiff(3TIFF)

Packit 85355f
Packit 85355f

Color Image Quantization for Frame Buffer Display,

Packit 85355f
Paul Heckbert, SIGGRAPH proceedings, 1982, pp. 297-307.

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>