The ColorErrorDiffusionToAdjacentNeighbors type exposes the following members.

Constructors

  NameDescription
ColorErrorDiffusionToAdjacentNeighbors
Initializes a new instance of the ColorErrorDiffusionToAdjacentNeighbors class.

Methods

  NameDescription
ApplyOverloaded.
Diffuse
Do error diffusion.
(Overrides ErrorDiffusionColorDithering..::.Diffuse(Int32, Int32, Int32, Byte*).)

Fields

  NameDescription
height
Processing image's height.
(Inherited from ErrorDiffusionColorDithering.)
pixelSize
Processing image's pixel size in bytes.
(Inherited from ErrorDiffusionColorDithering.)
stride
Processing image's stride (line size).
(Inherited from ErrorDiffusionColorDithering.)
width
Processing image's width.
(Inherited from ErrorDiffusionColorDithering.)
x
Current processing X coordinate.
(Inherited from ErrorDiffusionColorDithering.)
y
Current processing Y coordinate.
(Inherited from ErrorDiffusionColorDithering.)

Properties

  NameDescription
Coefficients
Diffusion coefficients.
ColorTable
Color table to use for image dithering. Must contain 2-256 colors.
(Inherited from ErrorDiffusionColorDithering.)
UseCaching
Use color caching during color dithering or not.
(Inherited from ErrorDiffusionColorDithering.)

See Also