File size: 255 Bytes
bf237c2
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { ImageCallback } from "@jimp/core";

interface Threshold {
  threshold(
    opts: {
      max: number;
      replace?: number;
      autoGreyscale?: boolean;
    },
    cb?: ImageCallback<this>
  ): this;
}

export default function (): Threshold;