Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
WICLeadDitherType Enumerated Type
See Also
Specifies the type of dithering to use when saving a file with an IWICLeadBitmapEncoder.

Syntax

 
typedef enum WICLeadDitherType{
        WICLeadDitherNone             = 0,
        WICLeadDitherFloydStein       = 1,
        WICLeadDitherStucki           = 2,
        WICLeadDitherBurkes           = 3,
        WICLeadDitherSierra           = 4,
        WICLeadDitherStevensonArce    = 5,
        WICLeadDitherJarvis           = 6,
        WICLeadDitherOrdered          = 7,
        WICLeadDitherClustered        = 8,
} WICLeadDitherType;

Constants

This enumeration is used with the IWICLeadBitmapEncoder::GetDitherTypes method, the IWICLeadBitmapEncoder::GetDitherTypeFriendlyName method, and the DitherType property bag item.

WICLeadDitherType Meaning
WICLeadDitherNone No dithering. Use nearest color matching.
WICLeadDitherFloydStein Floyd-Steinberg dithering.
WICLeadDitherStucki Stucki dithering.
WICLeadDitherBurkes Burkes dithering.
WICLeadDitherSierra Sierra dithering.
WICLeadDitherStevensonArce Stevenson Arce dithering.
WICLeadDitherJarvis Jarvis dithering.
WICLeadDitherOrdered Ordered dithering. This is faster but less accurate than other dithering methods.
WICLeadDitherClustered Clustered dithering.

 

Remarks

For more information, refer to the DitherType property bag item.

See Also