SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from Fedora 11 libtiff-3.8.2-15.fc11.x86_64.rpm

TIFFMEDIAN

Section: User Commands (1)
Updated: November 2, 2005
Index 

NAME

tiffmedian - apply the median cut algorithm to data in aTIFFfile 

SYNOPSIS

tiffmedian[options]input.tifoutput.tif 

DESCRIPTION

tiffmedianapplies the median cut algorithm to anRGBimage ininput.tifto generate a palette image that is written tooutput.tif.The generated colormap has, by default, 256 entries.The image data is quantized by mapping eachpixel to the closest color values in the colormap. 

OPTIONS

-c
Specify the compression to use for data written to the output file:none for no compression,packbitsfor PackBits compression,lzwfor Lempel-Ziv & Welch compression,andzipfor Deflate compression.By defaulttiffmedianwill compress data according to the value of theCompressiontag found in the source file.
LZWcompression can be specified together with a predictorvalue.A predictor value of 2 causeseach scanline of the output image to undergo horizontaldifferencing before it is encoded; a valueof 1 forces each scanline to be encoded without differencing.LZW-specific options are specified by appending a ``:''-separatedlist to the ``lzw'' option; e.g.-c lzw:2forLZWcompression with horizontal differencing.
-C
Specify the number of entries to use in the generated colormap.By default all 256 entries/colors are used.
-f
Apply Floyd-Steinberg dithering before selecting a colormap entry.
-r
Specify the number of rows (scanlines) in each strip of datawritten to the output file.By default,tiffmedianattempts to set the rows/stripthat no more than 8 kilobytes of data appear in a strip.
 

NOTES

This program is derived from Paul Heckbert'smedianprogram. 

SEE ALSO

pal2rgb(1),tiffinfo(1),tiffcp(1),tiffcmp(1),libtiff(3TIFF)

Color Image Quantization for Frame Buffer Display,Paul Heckbert, SIGGRAPH proceedings, 1982, pp. 297-307.

Libtiff library home page:http://www.remotesensing.org/libtiff/


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
NOTES
SEE ALSO

This document was created byman2html,using the manual pages.