UNPKG

@jimp/plugin-dither

Version:

<div align="center"> <img width="200" height="200" src="https://s3.amazonaws.com/pix.iemoji.com/images/emoji/apple/ios-11/256/crayon.png"> <h1>@jimp/plugin-dither</h1> <p>Apply a dither effect to an image.</p> </div>

16 lines 383 B
import { JimpClass } from "@jimp/types"; export declare const methods: { /** * Apply a ordered dithering effect. * @example * ```ts * import { Jimp } from "jimp"; * * const image = await Jimp.read("test/image.png"); * * image.dither(); * ``` */ dither<I extends JimpClass>(image: I): I; }; //# sourceMappingURL=index.d.ts.map