Skip to main content

Interface: IQualityLevelsConfig

A structure defining the image quality levels of the Quality meter.

Remarks

IQualityMeterConfig uses this interface. For details, see the Warnings https://customerscanvas.com/dev/editors/iframe-api/editor-configuration/warnings.html|Warnings topic.

Example

{
"violationWarningsSettings": {
"qualityMeter": {
"enabled": true,
"qualityLevels": {
"warning": "99",
"bad": "50"
}
}
}
}

Properties

bad

bad: number

Defines the unacceptable image quality level, comparing to the hi-res output DPI, in percent. This value should be less than or equal to the warning value. The default is 50.


warning

warning: number

Defines the warning image quality level, comparing to the hi-res output DPI, in percent. This value should be greater than or equal to the bad value. The default is 100.

Was this page helpful?