IDitherer Interface

Represents a ditherer that can be used to dither the result of a quantizing session.
For built-in implementations see the OrderedDitherer, ErrorDiffusionDitherer, RandomNoiseDitherer and InterleavedGradientNoiseDitherer classes.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 7.0.0
C#
public interface IDitherer

Properties

InitializeReliesOnContent Gets whether Initialize relies on the actual content of the source to be dithered.

Methods

Initialize Gets an IDitheringSession instance that can be used to dither the result of the specified IQuantizingSession applied to the specified source.

Extension Methods

InitializeAsync Gets an IDitheringSession instance potentially asynchronously that can be used to dither the result of the specified IQuantizingSession applied to the specified source. If ditherer is a known ditherer that can be evaluated quickly, then this method might be executed synchronously.
This method is available in.NET Framework 4.0 and above.
(Defined by DithererExtensions)

See Also