tiffdither - convert a greyscale image to bilevel using dithering
tiffdither [ options ] input.tif output.tif
tiffdither converts a single channel 8-bit greyscale image to a bilevel image using Floyd-Steinberg error propagation with thresholding.
-c Specify the compression to use for data written to the output file: none for no compression, packbits for PackBits compression, lzw for Lempel-Ziv & Welch compression, zip for Deflate compression, g3 for CCITT Group 3 (T.4) compression, and g4 for CCITT Group 4 (T.6) compression. By default tiffdither will compress data according to the value of the Compression tag found in the source file. The CCITT Group 3 and Group 4 compression algorithms can only be used with bilevel data. Group 3 compression can be specified together with several T.4-specific options: 1d for 1-dimensional encoding, 2d for 2-dimensional encoding, and fill to force each encoded scanline to be zero-filled so that the terminating EOL code lies on a byte boundary. Group 3-specific options are specified by appending a ``:''-separated list to the ``g3'' option; e.g. -c g3:2d:fill to get 2D-encoded data with byte-aligned EOL codes. LZW compression can be specified together with a predictor 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. -c lzw:2 for LZW compression with horizontal differencing. -f Specify the bit fill order to use in writing output data. By default, tiffdither will create a new file with the same fill order as the original. Specifying -f lsb2msb will force data to be written with the FillOrder tag set to LSB2MSB , while -f msb2lsb will force data to be written with the FillOrder tag set to MSB2LSB . -r Make each strip have no more than the given number of rows. -t Set the threshold value for dithering. By default the threshold value is 128.
The dither algorithm is taken from the tiffmedian(1) program (written by Paul Heckbert).
pal2rgb(1), fax2tiff(1), tiffinfo(1), tiffcp(1), tiff2bw(1), libtiff(3TIFF) Libtiff library home page: http://www.simplesystems.org/libtiff/
More Linux Commands
xzcmp(1) - compare compressed files - Linux manual page.....
xzcmp.1 - xzcmp and xzdiff invoke cmp(1) or diff(1) on files compressed with xz(1), lzma(1), gzip(1), or bzip2(1). All options specified are passed directly to
math_error(7) - detecting errors from mathematical functions
When an error occurs, most library functions indicate this fact by returning a special value (e.g., -1 or NULL). Because they typically return a floating-point
has_colors_sp(3ncurses) - curses screen-pointer extension...
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th
ftok(3) - convert a pathname and a project identifier to a S
The ftok() function uses the identity of the file named by the given pathname (which must refer to an existing, accessible file) and the least significant 8 bit
dog(1x) - (unknown subject) (Commands - Linux man page).....
oneko changes your cursor into a mouse and creates a little cute cat and the cat starts chasing around your mouse cursor. If the cat catches the mouse, it will
Tcl_OpenTcpServer(3) - procedures to open channels using TCP
These functions are convenience procedures for creating channels that communicate over TCP sockets. The operations on a channel are described in the manual entr
zshcompctl(1) - zsh programmable completion - Linux man page
This version of zsh has two ways of performing completion of words on the command line. New users of the shell may prefer to use the newer and more powerful sys
gmtime_r(3) - transform date and time to broken-down time or
The ctime(), gmtime() and localtime() functions all take an argument of data type time_t, which represents calendar time. When interpreted as an absolute time v
Mail::SpamAssassin::Plugin::ASN(3pm) - SpamAssassin plugin t
This plugin uses DNS lookups to the services of http://www.routeviews.org/ to do the actual work. Please make sure that your use of the plugin does not overload
getxattr(2) - retrieve an extended attribute value (ManPage)
Extended attributes are name:value pairs associated with inodes (files, directories, symbolic links, etc.). They are extensions to the normal attributes which a
nl(3ncurses) - curses output options - Linux manual page....
These routines set options that change the style of output within curses. All options are initially FALSE, unless otherwise stated. It is not necessary to turn
XQueryBestStipple(3) - determine efficient sizes (Man Page)
The XQueryBestSize function returns the best or closest size to the specified size. For CursorShape, this is the largest size that can be fully displayed on the