---
title: "Interface: IQualityMeterConfig | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ConfigurationInterfaces.IQualityMeterConfig/"
---

# Interface: IQualityMeterConfig

> A structure containing the configuration of the image quality meter.

## Remarks

[IViolationWarningsSettingsConfig](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ConfigurationInterfaces.IViolationWarningsSettingsConfig.md) uses this interface. For details, see the [Warnings https://customerscanvas.com/dev/editors/iframe-api/editor-configuration/warnings.html\|Warnings](https://customerscanvas.com/dev/editors/iframe-api/editor-configuration/warnings.html) topic.

## Example

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

## Properties

### qualityLevels?

> `optional` **qualityLevels?**: [`IQualityLevelsConfig`](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ConfigurationInterfaces.IQualityLevelsConfig.md)

Defines the image quality levels, in percent of the hi-res output DPI specified in the [IRenderingProperty.hiResOutputDpi](https://customerscanvas.com/docs/on-premises/design-editor/iframe-api/reference/design-editor-iframe/interfaces/ConfigurationInterfaces.IRenderingProperty.md#hiresoutputdpi) property.

***

### enabled?

> `optional` **enabled?**: `boolean`

If `true`, enables the quality meter and low DPI warnings. The default value is `true`.
