ImageCompression
@firecms/core / ImageCompression
Interface: ImageCompression
Section titled “Interface: ImageCompression”Defined in: types/properties.ts:916
Properties
Section titled “Properties”maxHeight?
Section titled “maxHeight?”
optionalmaxHeight:number
Defined in: types/properties.ts:920
New image max height (ratio is preserved)
maxWidth?
Section titled “maxWidth?”
optionalmaxWidth:number
Defined in: types/properties.ts:925
New image max width (ratio is preserved)
quality?
Section titled “quality?”
optionalquality:number
Defined in: types/properties.ts:930
A number between 0 and 100. Used for the JPEG compression.(if no compress is needed, just set it to 100)