Skip to content
docs
GitHub 4.5M /week v2.2.0
Type reference

ResizeOptions

ResizeOptions = { h?: number; mode?: NEAREST_NEIGHBOR | BILINEAR | BICUBIC | HERMITE | BEZIER | LANCZOS | LANCZOS2 | MITCHELL; premultiplyAlpha?: boolean; w: number; } | { h: number; mode?: NEAREST_NEIGHBOR | BILINEAR | BICUBIC | HERMITE | BEZIER | LANCZOS | LANCZOS2 | MITCHELL; premultiplyAlpha?: boolean; w?: number; }

Defined in: plugins/plugin-resize/dist/esm/index.d.ts:16

Jimp v2.2.0