Property Quality
Quality
Gets or initializes the quality setting to use when encoding images. Default is High.
Declaration
public ImageQuality Quality { get; init; }
Property Value
| Type | Description |
|---|---|
| ImageQuality |
Remarks
This setting has no effect on lossless formats. When source image quality can be determined, the result quality is capped to the source quality to avoid unnecessarily increasing file size.
Exceptions
| Type | Condition |
|---|---|
| ArgumentOutOfRangeException | The value is not a defined ImageQuality value. |