ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearOctreeReductionOptions Class / ErrorDiffusion Field




In This Topic
    ErrorDiffusion Field
    In This Topic
    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