Class QuantizerConstants
Contains color quantization specific constants.
Namespace: SixLabors.ImageSharp.Processing.Processors.Quantization
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class QuantizerConstants : object
Fields
| Improve this Doc View SourceMaxColors
The maximum number of colors to use when quantizing an image.
Declaration
public const int MaxColors = null
Field Value
Type | Description |
---|---|
Int32 |
MaxDitherScale
The max dithering scale used to adjust the amount of dither.
Declaration
public const float MaxDitherScale = null
Field Value
Type | Description |
---|---|
Single |
MinColors
The minimum number of colors to use when quantizing an image.
Declaration
public const int MinColors = null
Field Value
Type | Description |
---|---|
Int32 |
MinDitherScale
The minumim dithering scale used to adjust the amount of dither.
Declaration
public const float MinDitherScale = null
Field Value
Type | Description |
---|---|
Single |
Properties
| Improve this Doc View SourceDefaultDither
Gets the default dithering algorithm to use.
Declaration
public static IDither DefaultDither { get; }
Property Value
Type | Description |
---|---|
IDither |