WmpBitmapEncoder.QualityLevel Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: