Skip to main content
Version: 2.0.0-beta

Interface: ImageCompression

Properties

maxHeight

Optional maxHeight: number

New image max height (ratio is preserved)

Defined in

lib/src/types/properties.ts:846


maxWidth

Optional maxWidth: number

New image max width (ratio is preserved)

Defined in

lib/src/types/properties.ts:851


quality

Optional quality: number

A number between 0 and 100. Used for the JPEG compression.(if no compress is needed, just set it to 100)

Defined in

lib/src/types/properties.ts:856

Enterprise?

Learn how to get the most out of your project with the help of our consulting team.
Get in touch
Sign up to our newsletter to get the latest news and updates. No spam!