template-project/node_modules/@jimp/plugin-dither/dist/commonjs/index.d.ts
2025-05-30 18:13:30 +08:00

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