[]
Compacts the image palette to 8 bits per color channel and returns the palette as an array of 32-bit ARGB values.
public uint[] CompactPalette(bool allowSemitransparency = false)
Public Function CompactPalette(Optional allowSemitransparency As Boolean = False) As UInteger()
| Type | Name | Description |
|---|---|---|
| bool | allowSemitransparency | Indicates if the alpha channel supports values between 0 and 255 (if true), or the boundary values only (if false). |
| Type | Description |
|---|---|
| uint[] |