Class QuantizingImageEncoder
Acts as a base class for all image encoders that allow color palette generation via quantization.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Formats
Assembly: SixLabors.ImageSharp.dll
Syntax
public abstract class QuantizingImageEncoder : ImageEncoder, IImageEncoder
Properties
| Edit this page View SourcePixelSamplingStrategy
Gets the IPixelSamplingStrategy used for quantization when building color palettes.
Declaration
public IPixelSamplingStrategy PixelSamplingStrategy { get; init; }
Property Value
Type | Description |
---|---|
IPixelSamplingStrategy |
Quantizer
Gets the quantizer used to generate the color palette.
Declaration
public IQuantizer? Quantizer { get; init; }
Property Value
Type | Description |
---|---|
IQuantizer |