Multicolor Floyd Steinberg dithering.
npm install mcfsd> ## ✨ MCFSD
>
> Multicolored Floyd Steinberg Dithering
---
> ### 🔽 Installation
``diff
`
$ npm install mcfsd
(Jimp)
---
> #### ❔ Basic Usage Example
`
js
``
const Jimp = require("jimp");
const mcfsd = require("mcfsd");
(async () => {
let image = await Jimp.read("example.jpg");
//
// Dithering Factor ---------+---> Every what pixel(s)
// |
// Image Bitmap -| |
// V V
let ditheredBitmap = await mcfsd(image.bitmap, 5);
let ditheredImage = await Jimp.create(ditheredBitmap);
await ditheredImage.writeAsync("dithered_example.jpg");
})();