IDitherer Interface

KGy SOFT Drawing Libraries Help
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.

Namespace:  KGySoft.Drawing.Imaging
Assembly:  KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 7.0.0-preview.2
Syntax

public interface IDitherer

The IDitherer type exposes the following members.

Properties

  NameDescription
Public propertyInitializeReliesOnContent
Gets whether Initialize relies on the actual content of the source to be dithered.
See the Remarks section for details.
Top
Methods

  NameDescription
Public methodInitialize
Gets an IDitheringSession instance that can be used to dither the result of the specified IQuantizingSession applied to the specified source.
Top
Extension Methods

  NameDescription
Public Extension MethodInitializeAsync
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.)
Top
See Also

Reference