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

interface Scale {
  scale(f: number, cb?: ImageCallback<this>): this;
  scale(f: number, mode?: string, cb?: ImageCallback<this>): this;
  scaleToFit(w: number, h: number, cb?: ImageCallback<this>): this;
  scaleToFit(
    w: number,
    h: number,
    mode?: string,
    cb?: ImageCallback<this>
  ): this;
}

export default function (): Scale;