maximumColorCount

Set the maximum number of colors to use in the quantization step when using a ImageBitmap as the source.

Good values for depend on the source image type. For landscapes, good values are in the range 10-16. For images which are largely made up of people's faces then this value should be increased to ~24.