Table of Contents

Enum ColorMatchingMode

Namespace
SixLabors.ImageSharp.Processing.Processors.Quantization
Assembly
SixLabors.ImageSharp.dll

Defines the precision level used when matching colors during quantization.

public enum ColorMatchingMode

Fields

Coarse = 0

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 = 1

Performs exact color matching using a bounded exact-match cache with eviction. This preserves exact color matching while accelerating repeated colors.