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
Quantizer
Gets the quantizer used to generate the color palette.
public IQuantizer? Quantizer { get; init; }