Enum ColorMatchingMode
Defines the precision level used when matching colors during quantization.
Namespace: SixLabors.ImageSharp.Processing.Processors.Quantization
Assembly: SixLabors.ImageSharp.dll
Syntax
public enum ColorMatchingMode
Fields
Name | Description |
---|---|
Coarse | Uses a coarse caching strategy optimized for performance at the expense of exact matches. This provides the fastest matching but may yield approximate results. |
Exact | Performs exact color matching without any caching optimizations. This is the slowest but most accurate matching strategy. |
Hybrid | Enables an exact color match cache for the first 512 unique colors encountered, falling back to coarse matching thereafter. |