VisionX V4VCDITHVisionX V4
NAME

vcdith − Ordered Dither Algorithm for R,G,B images

SYNOPSIS

vcdith [if=<inputfile>] [of=<outputfile>] [n=<value>] [d=<value>]

DESCRIPTION

Vcdith implements the ’Ordered Dither’ algorithm and can convert one 3 channel r,g,b file into a single 8 bit image file with a lookup table. The output image is ’gamma corrected’.

OPTIONS

if=<inputfile>

A three channel byte input file, containing the red components on the first channel, the green components on the second channel and the blue components on the third channel.

of=<outputfile>

The resulting dithered file.

n=<value>

The number of shades to be used for the color map. The default number of shades is 256. The number of values for each primary color is

d=<value>

The dimension of the dither matrix. The size of the matrix is the 2^dim. The default is 2 for a 4x4 ordered dither matrix.

SEE ALSO

xvx(1)

AUTHOR

A. P. Reeves

BUGS

The gamma correction parameters are fixed.