>>> The stack needs LC 9. It also runs in LC 8 but up to 10 times slower. <<<

The stack creates a color palette from any image. You set the number of colors (2-256) of the palette.Such palettes are often used to create "harmonic" designs of drawings/posters or for creating web pages.

You can see the "quantized" image with that palette, seehttps://en.wikipedia.org/wiki/Color_quantizationThe quantized image is computed built-in or by using LC's "export image with palette" with the computed palette.

The stack uses the excellent javaScript library rgbQuanthttps://github.com/leeoniya/RgbQuant.js/via a browser widget. The library is included in the stack.

If you have a decent GPU then around 1-2 seconds are needed for images of medium screen size (1920x1080).License MIT ( see https://en.wikipedia.org/wiki/MIT_License )