12 lines
233 B
TypeScript
12 lines
233 B
TypeScript
import { ImageCallback } from '@jimp/core';
|
|
|
|
interface Threshold {
|
|
threshold(opts: {
|
|
max: number,
|
|
replace?: number,
|
|
autoGreyscale?: boolean
|
|
}, cb?: ImageCallback<this>): this;
|
|
}
|
|
|
|
export default function(): Threshold;
|