Class QuantizerConstants
- Namespace
- SixLabors.ImageSharp.Processing.Processors.Quantization
- Assembly
- SixLabors.ImageSharp.dll
Contains color quantization specific constants.
public static class QuantizerConstants
- Inheritance
-
QuantizerConstants
- Inherited Members
Fields
MaxColors
The maximum number of colors to use when quantizing an image.
public const int MaxColors = 256
Field Value
MaxDitherScale
The max dithering scale used to adjust the amount of dither.
public const float MaxDitherScale = 1
Field Value
MinColors
The minimum number of colors to use when quantizing an image.
public const int MinColors = 1
Field Value
MinDitherScale
The minumim dithering scale used to adjust the amount of dither.
public const float MinDitherScale = 0
Field Value
Properties
DefaultDither
Gets the default dithering algorithm to use.
public static IDither DefaultDither { get; }