Specifies the dithering method to be used for Black/White conversion.
Namespace:
Neodynamic.WebControls.ImageDrawAssembly: Neodynamic.WebControls.ImageDraw (in Neodynamic.WebControls.ImageDraw.dll)
Version: 4.0.2000.0 (4.0.2000.0)
Syntax
C# |
---|
public enum DitherMethod |
Visual Basic (Declaration) |
---|
Public Enumeration DitherMethod |
Visual C++ |
---|
public enum class DitherMethod |
Members
Member name | Description | |
---|---|---|
Threshold |
Any pixel below the threshold becomes black; otherwise it becomes white. Use it for logos or simple images.
| |
PatternDiffusion |
It uses a 4x4 dithering matrix to create a grouping of pixels that approximates the pixel group brightness. Use it for photos and other complicated images.
| |
FloydSteinberg |
It uses Floyd-Steinberg algorithm to keep a track of the error in brightness caused by the threshold, and diffusing it across an area. Use it for photos and other complicated images.
|