Class WebSafePaletteQuantizer
A palette quantizer consisting of web safe colors as defined in the CSS Color Module Level 4.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Processing.Processors.Quantization
Assembly: SixLabors.ImageSharp.dll
Syntax
public class WebSafePaletteQuantizer : PaletteQuantizer, IQuantizer
Constructors
| Edit this page View SourceWebSafePaletteQuantizer()
Initializes a new instance of the WebSafePaletteQuantizer class.
Declaration
public WebSafePaletteQuantizer()
WebSafePaletteQuantizer(QuantizerOptions)
Initializes a new instance of the WebSafePaletteQuantizer class.
Declaration
public WebSafePaletteQuantizer(QuantizerOptions options)
Parameters
Type | Name | Description |
---|---|---|
QuantizerOptions | options | The quantizer options defining quantization rules. |