Class ColorQuantizerResult
A result of color quantization.
Inherited Members
Namespace: JeremyAnsel.ColorQuant
Assembly: JeremyAnsel.ColorQuant.dll
Syntax
public sealed class ColorQuantizerResult
Constructors
| Edit this page View SourceColorQuantizerResult(int, int)
Initializes a new instance of the ColorQuantizerResult class.
Declaration
public ColorQuantizerResult(int size, int colorCount)
Parameters
| Type | Name | Description |
|---|---|---|
| int | size | The size of the result. |
| int | colorCount | The color count. |
Fields
| Edit this page View SourceMaxColors
The maximum color count.
Declaration
public const int MaxColors = 256
Field Value
| Type | Description |
|---|---|
| int |
Properties
| Edit this page View SourceBytes
Gets the bytes.
Declaration
public byte[] Bytes { get; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Palette
Gets the palette (XRGB or ARGB).
Declaration
public byte[] Palette { get; }
Property Value
| Type | Description |
|---|---|
| byte[] |