Skip to main content
Version: 2.0.0

Interface: ImageCompression

Properties

maxHeight

Optional maxHeight: number

New image max height (ratio is preserved)

Defined in

lib/src/types/properties.ts:838


maxWidth

Optional maxWidth: number

New image max width (ratio is preserved)

Defined in

lib/src/types/properties.ts:843


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:848

Enterprise or start-up?

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