VisionX V4 | VCDITH | VisionX V4 |
vcdith − Ordered Dither Algorithm for R,G,B images |
vcdith [if=<inputfile>] [of=<outputfile>] [n=<value>] [d=<value>] |
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’. |
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. |
xvx(1) |
A. P. Reeves |
The gamma correction parameters are fixed. |