Integer in range [8...256]. If Palette field is non-null, this must less than or equal to the number of colors in Palette field, and greater than or equal to MaxColors field.
Remarks
If no palette is specified (Palette field is null), this option is ignored and an optimized palette is automatically generated.