IQuantizer Interface

KGy SOFT Drawing Libraries Help
Represents a quantizer that can be used to reduce the number of colors of an image.
For built-in implementations see the PredefinedColorsQuantizer and OptimizedPaletteQuantizer classes.

Namespace:  KGySoft.Drawing.Imaging
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 5.2.0
Syntax

public interface IQuantizer

The IQuantizer type exposes the following members.

Properties

  NameDescription
Public propertyInitializeReliesOnContent
Gets whether Initialize relies on the actual content of the source to be quantized.
See the Remarks section for details.
Public propertyPixelFormatHint
Gets a PixelFormat that is compatible with this IQuantizer. It is recommended to return the format with the lowest bits-per-pixel value that is still compatible with this instance.
Top
Methods

  NameDescription
Public methodInitialize
Gets an IQuantizingSession instance that can be used to quantize the colors of the specified IReadableBitmapData instance.
Top
See Also

Reference