dither

[ XITE Reference Manual | XITE home ]

Name

dither - create a dithering image

Syntax

dither <input image> <output image> [threshold]

Description

dither dithers an image for better display on BW screens. <threshold> is a threshold-like argument, default is 127. Larger (smaller) value gives darker (brighter) image.

Files

See also

Diagnostics

Restrictions

Accepts only UNS_BYTE pixels.

Return value

Author

Tor L|nnestad, BLAB, IfI, UiO

Examples

 dither mona.img monadith.img
 dither mona.img monadith.img 100

Id

$Id: dither.c,v 1.19 1996/11/08 14:03:15 svein Exp $