@jimp/plugin-dither
Version:
16 lines • 383 B
TypeScript
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