Class KnownQuantizers
Contains reusable static instances of known quantizing algorithms
Inherited Members
Namespace: SixLabors.ImageSharp.Processing
Assembly: SixLabors.ImageSharp.dll
Syntax
public static class KnownQuantizers
Properties
| Improve this Doc View SourceOctree
Gets the adaptive Octree quantizer. Fast with good quality.
Declaration
public static IQuantizer Octree { get; }
Property Value
Type | Description |
---|---|
IQuantizer |
WebSafe
Gets the palette based quantizer consisting of web safe colors as defined in the CSS Color Module Level 4.
Declaration
public static IQuantizer WebSafe { get; }
Property Value
Type | Description |
---|---|
IQuantizer |
Werner
Gets the palette based 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
Declaration
public static IQuantizer Werner { get; }
Property Value
Type | Description |
---|---|
IQuantizer |
Wu
Gets the Xiaolin Wu's Color Quantizer which generates high quality output.
Declaration
public static IQuantizer Wu { get; }
Property Value
Type | Description |
---|---|
IQuantizer |