Skip to content

ImageOptions

maxDimension: number;

The max size of the image’s longer side used in downsampling stage. This field will override quality.

undefined

index.ts:29


quality: number;

Scale down factor used in downsampling stage. 1 means no downsampling. If maxDimension is set, this value will not be used.

5

index.ts:24