Hi Eduardo, 2009/4/28 Eduardo Ismael <ei...@hotmail.com>: > Would you please make comments on what I could do to improve the code below?
You could make it hundreds of times faster if you calculate with images, not pixels. But maybe it's fast enough already? It depends on your needs. CIELAB would be a better colour space than RGB, but I don't think PIL supports CIELAB colour space, so you'd need to look into another image processing system, like numpy or vips. John _______________________________________________ Image-SIG maillist - Image-SIG@python.org http://mail.python.org/mailman/listinfo/image-sig