CompositingQuality Enumeration

 
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.

Specifies the quality level to use during compositing.

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public enum CompositingQuality

Member nameDescription
AssumeLinear

Assume linear values.

Default

Default quality.

GammaCorrected

Gamma correction is used.

HighQuality

High quality, low speed compositing.

HighSpeed

High speed, low quality.

Invalid

Invalid quality.

Compositing is done during rendering when the source pixels are combined with the destination pixels to produce the resultant pixels. The quality of compositing directly relates to the visual quality of the output and is inversely proportional to the render time. The higher the quality, the slower the render time. This is because the higher the quality level, the more surrounding pixels need to be taken into account during the composite. The linear quality setting (AssumeLinear) compromises by providing better quality than the default quality at a slightly lower speed.

.NET Framework
Available since 1.1
Return to top
Show: