Options.quantizeColors

Preferred number of _colors in the image. The actual number of _colors in the image may be less than your request, but never more. Images with less unique _colors than specified with this option will have any duplicate or unused _colors removed.

  1. void quantizeColors(size_t colors)
    class Options
    void
    quantizeColors
    (
    size_t colors
    )
  2. size_t quantizeColors()

Meta