Skip to main content
Version: 2.0.0-alpha

Interface: ImageCompression

Properties

maxHeight

Optional maxHeight: number

New image max height (ratio is preserved)

Defined in

lib/src/types/properties.ts:828


maxWidth

Optional maxWidth: number

New image max width (ratio is preserved)

Defined in

lib/src/types/properties.ts:833


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

Need a hand?

We are happy to offer consulting services to help you get the most out of FireCMS.
Get in touch