atkinson-dither
v0.0.1
Published
Performs Atkinson dithering on an image.
Downloads
5
Readme
Atkinson Dither for Node.JS
An implementation of the Atkinson dithering algorithm suitable for Node.JS.
http://verlagmartinkoch.at/software/dither/index.html
Installation
npm install atkinson-dither
Usage
On the command line
atkinson-dither -i input-file.png -o output-file.png
In another Node.JS script
var AtkinsonDither = require('atkinson-dither');
// Where imageData is loaded from Canvas or similar...
AtkinsonDither.ProcessImage(imageData);