ImageMan.Net Version 3 Summer 2012 Release
DitherOptions Enumeration
See Also  Send Feedback
DTI.ImageMan.Commands Namespace : DitherOptions Enumeration

Glossary Item Box

Dithering Options


Visual Basic (Declaration) 
Public Enum DitherOptions 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As DitherOptions
public enum DitherOptions : System.Enum 
public enum DitherOptions extends System.Enum
Managed Extensions for C++ 
__value public enum DitherOptions : public System.Enum 
public enum class DitherOptions : public System.Enum 


BayerUses the Bayer algorithm for dithering, looks most like newsprint often used with black and white. Produces a patterned effect. Which may compress better than Burkes or Floyd Steinberg with some files. Bayer Dithering.
BurkesUses the Burkes algorithm for dithering, very similar to Floyd Steinberg. Burkes Dithering
FloydSteinburgUse the Floyd Steinberg algorithm for dithering, this uses a random dot pattern that looks the best, but may not compress as well depending on both the image content and the compression method used. Floyd Steinburg Dithering
NoDitheringNo Dithering, map each pixel to closest pixel in palette. No Dithering.


Different palette options for adjusting the bit depth: of the image using the ModifyBitDepthCommand DitherOption.

With standard palettes choosing a dithering option will yield the best results. With an Octree palette it may be possible to choose No Dithering. The advantage of choosing No Dithering for Run Length Encoding Schemes (like gif) is that the compressed image file may be smaller.

Inheritance Hierarchy



Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.