WmpBitmapEncoder.QualityLevel Property

 

Gets or sets the compression quality for the main image.

Namespace:   System.Windows.Media.Imaging
Assembly:  PresentationCore (in PresentationCore.dll)

public byte QualityLevel { get; set; }

Property Value

Type: System.Byte

The compression quality for the main image. A value of 1 is considered lossless, and higher values indicate a high compression ratio and lower image quality. The range is 1 to 255. The default is 1.

.NET Framework
Available since 3.0
Return to top
Show: