MCPcopy
hub / github.com/jimp-dev/jimp / ResizeClass

Interface ResizeClass

plugins/plugin-resize/src/index.ts:10–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8export * from "./constants.js";
9
10interface ResizeClass {
11 // eslint-disable-next-line @typescript-eslint/no-misused-new
12 new (
13 widthOriginal: number,
14 heightOriginal: number,
15 targetWidth: number,
16 targetHeight: number,
17 blendAlpha: boolean,
18 interpolationPass: boolean,
19 resizeCallback: (buffer: Buffer) => void
20 ): ResizeClass;
21 resize(buffer: Buffer): void;
22}
23
24type Constructable<T> = new (...args: unknown[]) => T;
25

Callers 8

diffFunction · 0.80
getHashMethod · 0.80
index.test.tsFile · 0.80
resizeFunction · 0.80
scaleFunction · 0.80
advancedRotateFunction · 0.80
shadowFunction · 0.80
containFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…