Color quantization: Difference between revisions

Updated second D entry
(Add Haskell - Color Quantization)
(Updated second D entry)
Line 637:
 
const nd = nearestColor(px);
uint v[3] v = void;
v[0] = cast(uint)(px[0] - nd.r);
v[1] = cast(uint)(px[1] - nd.g);