Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MR414N-ID
GitHub Repository: MR414N-ID/botku2
Path: blob/master/node_modules/@jimp/plugin-contain/index.d.ts
1126 views
1
import { ImageCallback } from '@jimp/core';
2
3
interface Contain {
4
contain(w: number, h: number, cb?: ImageCallback<this>): this;
5
contain(w: number, h: number, mode?: string, cb?: ImageCallback<this>): this;
6
contain(w: number, h: number, alignBits?: number, cb?: ImageCallback<this>): this;
7
contain(
8
w: number,
9
h: number,
10
alignBits?: number,
11
mode?: string,
12
cb?: ImageCallback<this>
13
): this;
14
}
15
16
export default function(): Contain;
17
18