Reduces the number of colors in an image.
Syntax

[C#]

void ReduceColors(XPalette inPalette, int inColors, bool inDither);

[Visual Basic]

Sub ReduceColors(inPalette As XPalette, inColors As Integer, inDither As Boolean)
Params
Name Description
inPalette The palette to use for color reduction.
inColors The number of colors to use.
inDither Whether to dither the final image.
Notes

See the Canvas ReduceColors function for details.

Example

None.