---
title: "IQualityLevelsConfig Interface"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.iqualitylevelsconfig.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IQualityLevelsConfig Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · **Archived documentation**
 
A structure defining the image quality levels of the Quality meter.
  
 - 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`.
