Fork me on GitHub

k-means Image Color Quantization

Select an image (gif, jpeg, png, or svg), select a value for k, then click Quantize.

The quantized image can be saved by using your browser’s Save Image As... functionality, invoked by right-clicking the image.