Skip to content

ImageOptions

Interface: ImageOptions

Properties

maxDimension

maxDimension: number;

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

Default

undefined

Defined in

index.ts:29


quality

quality: number;

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

Default

5

Defined in

index.ts:24