Interface IColorQuantizer
Defines a color quantizer.
Namespace: JeremyAnsel.ColorQuant
Assembly: JeremyAnsel.ColorQuant.dll
Syntax
public interface IColorQuantizer
Methods
| Edit this page View SourceQuantize(byte[])
Quantizes an image.
Declaration
ColorQuantizerResult Quantize(byte[] image)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | image | The image (XRGB or ARGB). |
Returns
| Type | Description |
|---|---|
| ColorQuantizerResult | The result. |
Quantize(byte[], int)
Quantizes an image.
Declaration
ColorQuantizerResult Quantize(byte[] image, int colorCount)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | image | The image (XRGB or ARGB). |
| int | colorCount | The color count. |
Returns
| Type | Description |
|---|---|
| ColorQuantizerResult | The result. |