Table of Contents

Class QuantizingImageEncoder

Namespace
SixLabors.ImageSharp.Formats
Assembly
SixLabors.ImageSharp.dll

Acts as a base class for all image encoders that allow color palette generation via quantization.

public abstract class QuantizingImageEncoder : ImageEncoder, IImageEncoder
Inheritance
QuantizingImageEncoder
Implements
Derived
Inherited Members

Constructors

QuantizingImageEncoder()

protected QuantizingImageEncoder()

Properties

PixelSamplingStrategy

Gets the IPixelSamplingStrategy used for quantization when building color palettes.

public IPixelSamplingStrategy PixelSamplingStrategy { get; init; }

Property Value

IPixelSamplingStrategy

Quantizer

Gets the quantizer used to generate the color palette.

public IQuantizer? Quantizer { get; init; }

Property Value

IQuantizer