Table of Contents

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.

OctreeQuantizer

Allows the quantization of images pixels using Octrees. http://msdn.microsoft.com/en-us/library/aa479306.aspx

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

OctreeQuantizer<TPixel>

Encapsulates methods to calculate the color palette if an image using an Octree pattern. http://msdn.microsoft.com/en-us/library/aa479306.aspx

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.