ImageGear .NET v25.1 - Updated
ErrorDiffusion Field




ImageGear.Core Assembly > ImageGear.Processing Namespace > ImGearOctreeReductionOptions Class : ErrorDiffusion Field
Specifies whether to improve accuracy using error diffusion.
Syntax
'Declaration
 
Public ErrorDiffusion As Boolean
'Usage
 
Dim instance As ImGearOctreeReductionOptions
Dim value As Boolean
 
value = instance.ErrorDiffusion
 
instance.ErrorDiffusion = value
public bool ErrorDiffusion
public: bool ErrorDiffusion
public:
bool ErrorDiffusion

Field Value

Boolean value.
Remarks
Error diffusion attempts to spread out error (the difference in color between input and output pixels) across a two dimensional space in the output image. It increases overall accuracy, but can give the image a more speckled or dithered appearance. It also decreases the effectiveness of most compression algorithms since adjacent pixels are less likely to be the same color. Using octree reduction without error diffusion is sometimes known as ?nearest color? reduction.
See Also

Reference

ImGearOctreeReductionOptions Class
ImGearOctreeReductionOptions Members