ImageOptions
Interface: ImageOptions
Section titled “Interface: ImageOptions”Properties
Section titled “Properties”maxDimension
Section titled “maxDimension”maxDimension: number;The max size of the image’s longer side used in downsampling stage. This field will override quality.
Default
Section titled “Default”undefinedDefined in
Section titled “Defined in”quality
Section titled “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
Section titled “Default”5