K-Means Color Quantization in WebAssembly
Image:
Quantize
Invert
k =
16
Original
Result