Namespace SixLabors.ImageSharp.Processing.Processors.Quantization
Classes
- DefaultPixelSamplingStrategy
A pixel sampling strategy that enumerates a limited amount of rows from different frames, if the total number of pixels is over a threshold.
- ExtensivePixelSamplingStrategy
A pixel sampling strategy that enumerates all pixels.
- HexadecatreeQuantizer
Quantizes images by grouping colors in an adaptive 16-way tree and reducing those groups into a palette.
- PaletteQuantizer
Allows the quantization of images pixels using color palettes.
- QuantizeProcessor
Defines quantization processing for images to reduce the number of colors used in the image palette.
- QuantizerConstants
Contains color quantization specific constants.
- QuantizerOptions
Defines options for quantization.
- QuantizerUtilities
Contains utility methods for IQuantizer<TPixel> instances.
- WebSafePaletteQuantizer
A palette quantizer consisting of web safe colors as defined in the CSS Color Module Level 4.
- WernerPaletteQuantizer
A palette quantizer consisting of colors as defined in the original second edition of Werner’s Nomenclature of Colours 1821. The hex codes were collected and defined by Nicholas Rougeux https://www.c82.net/werner
- WuQuantizer
Allows the quantization of images pixels using Xiaolin Wu's Color Quantizer http://www.ece.mcmaster.ca/~xwu/cq.c
Structs
- HexadecatreeQuantizer<TPixel>
Quantizes an image by building an adaptive 16-way color tree and reducing it to the requested palette size.
Interfaces
- IPixelSamplingStrategy
Provides an abstraction to enumerate pixel regions for sampling within Image<TPixel>.
- IQuantizer
Provides methods for allowing quantization of images pixels with configurable dithering.
- IQuantizer<TPixel>
Provides methods to allow the execution of the quantization process on an image frame.
Enums
- ColorMatchingMode
Defines the precision level used when matching colors during quantization.