Click or drag to resize

ApplyPaletteCommandDitherErrorMax Property

Gets or sets the amount of dithering to apply.

Namespace:  Atalasoft.Imaging.ImageProcessing
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public int DitherErrorMax { get; set; }

Property Value

Type: Int32
The amount of dithering.
Exceptions
ExceptionCondition
Thrown if the value is less than 0 or greater than 127.
Remarks

Valid values are between 0 and 127 with 0 being little to no dithering and 127 the full amount of possible dithering. Defaults to 127.

For converting a color or grayscale image to 1-bit black and white without dithering, see the SimpleThresholdCommand, GlobalThresholdCommand, and AdaptiveThresholdCommand.

See Also