/usr/share/doc/libtiff-devel/html/man
<!-- Creator : groff version 1.18.1 --> <!-- CreationDate: Sat Feb 24 18:37:20 2007 --> <html> <head> <meta name="generator" content="groff -Thtml, see www.gnu.org"> <meta name="Content-Style" content="text/css"> <title>TIFFMEDIAN</title> </head> <body> <h1 align=center>TIFFMEDIAN</h1> <a href="#NAME">NAME</a><br> <a href="#SYNOPSIS">SYNOPSIS</a><br> <a href="#DESCRIPTION">DESCRIPTION</a><br> <a href="#OPTIONS">OPTIONS</a><br> <a href="#NOTES">NOTES</a><br> <a href="#SEE ALSO">SEE ALSO</a><br> <hr> <a name="NAME"></a> <h2>NAME</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>tiffmedian − apply the median cut algorithm to data in a <small>TIFF</small> file</p> </td> </table> <a name="SYNOPSIS"></a> <h2>SYNOPSIS</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p><b>tiffmedian</b> [ <i>options</i> ] <i>input.tif output.tif</i></p> </td> </table> <a name="DESCRIPTION"></a> <h2>DESCRIPTION</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p><i>tiffmedian</i> applies the median cut algorithm to an <small>RGB</small> image in <i>input.tif</i> to generate a palette image that is written to <i>output.tif</i>. The generated colormap has, by default, 256 entries. The image data is quantized by mapping each pixel to the closest color values in the colormap.</p> </td> </table> <a name="OPTIONS"></a> <h2>OPTIONS</h2> <!-- TABS --> <table width="100%" border=0 rules="none" frame="void" cols="5" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="11%"></td> <td width="2%"> <p><b>−c</b></p> </td> <td width="5%"></td> <td width="80%"> <p>Specify the compression to use for data written to the output file: <b>none</b> for no compression, <b>packbits</b> for PackBits compression, <b>lzw</b> for Lempel-Ziv & Welch compression, and <b>zip</b> for Deflate compression. By default <i>tiffmedian</i> will compress data according to the value of the <i>Compression</i> tag found in the source file.</p> </td> <td width="0%"> </td> </table> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="17%"></td> <td width="82%"> <p><small>LZW</small> compression can be specified together with a <i>predictor</i> value. A predictor value of 2 causes each scanline of the output image to undergo horizontal differencing before it is encoded; a value of 1 forces each scanline to be encoded without differencing. LZW-specific options are specified by appending a ‘‘:’’-separated list to the ‘‘lzw’’ option; e.g. <b>−c lzw:2</b> for <small>LZW</small> compression with horizontal differencing.</p> </td> </table> <!-- TABS --> <table width="100%" border=0 rules="none" frame="void" cols="5" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="10%"></td> <td width="2%"> <p><b>−C</b></p> </td> <td width="6%"></td> <td width="80%"> <p>Specify the number of entries to use in the generated colormap. By default all 256 entries/colors are used.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="2%"> <p><b>−f</b></p> </td> <td width="6%"></td> <td width="80%"> <p>Apply Floyd-Steinberg dithering before selecting a colormap entry.</p> </td> <td width="0%"> </td> <tr valign="top" align="left"> <td width="10%"></td> <td width="2%"> <p><b>−r</b></p> </td> <td width="6%"></td> <td width="80%"> <p>Specify the number of rows (scanlines) in each strip of data written to the output file. By default, <i>tiffmedian</i> attempts to set the rows/strip that no more than 8 kilobytes of data appear in a strip.</p> </td> <td width="0%"> </td> </table> <a name="NOTES"></a> <h2>NOTES</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p>This program is derived from Paul Heckbert’s <i>median</i> program.</p> </td> </table> <a name="SEE ALSO"></a> <h2>SEE ALSO</h2> <!-- INDENTATION --> <table width="100%" border=0 rules="none" frame="void" cols="2" cellspacing="0" cellpadding="0"> <tr valign="top" align="left"> <td width="8%"></td> <td width="91%"> <p><b>pal2rgb</b>(1), <b>tiffinfo</b>(1), <b>tiffcp</b>(1), <b>tiffcmp</b>(1), <b>libtiff</b>(3TIFF)</p> <!-- INDENTATION --> <p><b>Color Image Quantization for Frame Buffer Display</b>, Paul Heckbert, SIGGRAPH proceedings, 1982, pp. 297-307.</p> <!-- INDENTATION --> <p>Libtiff library home page: <b>http://www.simplesystems.org/libtiff/</b></p> </td> </table> <hr> </body> </html>
.
Edit
..
Edit
CMakeLists.txt
Edit
HtmlDoc.cmake
Edit
TIFFClose.3tiff.html
Edit
TIFFDataWidth.3tiff.html
Edit
TIFFError.3tiff.html
Edit
TIFFFieldDataType.3tiff.html
Edit
TIFFFieldName.3tiff.html
Edit
TIFFFieldPassCount.3tiff.html
Edit
TIFFFieldReadCount.3tiff.html
Edit
TIFFFieldTag.3tiff.html
Edit
TIFFFieldWriteCount.3tiff.html
Edit
TIFFFlush.3tiff.html
Edit
TIFFGetField.3tiff.html
Edit
TIFFOpen.3tiff.html
Edit
TIFFPrintDirectory.3tiff.html
Edit
TIFFRGBAImage.3tiff.html
Edit
TIFFReadDirectory.3tiff.html
Edit
TIFFReadEncodedStrip.3tiff.html
Edit
TIFFReadEncodedTile.3tiff.html
Edit
TIFFReadRGBAImage.3tiff.html
Edit
TIFFReadRGBAStrip.3tiff.html
Edit
TIFFReadRGBATile.3tiff.html
Edit
TIFFReadRawStrip.3tiff.html
Edit
TIFFReadRawTile.3tiff.html
Edit
TIFFReadScanline.3tiff.html
Edit
TIFFReadTile.3tiff.html
Edit
TIFFSetDirectory.3tiff.html
Edit
TIFFSetField.3tiff.html
Edit
TIFFWarning.3tiff.html
Edit
TIFFWriteDirectory.3tiff.html
Edit
TIFFWriteEncodedStrip.3tiff.html
Edit
TIFFWriteEncodedTile.3tiff.html
Edit
TIFFWriteRawStrip.3tiff.html
Edit
TIFFWriteRawTile.3tiff.html
Edit
TIFFWriteScanline.3tiff.html
Edit
TIFFWriteTile.3tiff.html
Edit
TIFFbuffer.3tiff.html
Edit
TIFFcodec.3tiff.html
Edit
TIFFcolor.3tiff.html
Edit
TIFFmemory.3tiff.html
Edit
TIFFquery.3tiff.html
Edit
TIFFsize.3tiff.html
Edit
TIFFstrip.3tiff.html
Edit
TIFFswab.3tiff.html
Edit
TIFFtile.3tiff.html
Edit
fax2ps.1.html
Edit
fax2tiff.1.html
Edit
index.html
Edit
libtiff.3tiff.html
Edit
pal2rgb.1.html
Edit
ppm2tiff.1.html
Edit
raw2tiff.1.html
Edit
tiff2bw.1.html
Edit
tiff2pdf.1.html
Edit
tiff2ps.1.html
Edit
tiff2rgba.1.html
Edit
tiffcmp.1.html
Edit
tiffcp.1.html
Edit
tiffcrop.1.html
Edit
tiffdither.1.html
Edit
tiffdump.1.html
Edit
tiffinfo.1.html
Edit
tiffmedian.1.html
Edit
tiffset.1.html
Edit
tiffsplit.1.html
Edit