On Sat, Jan 8, 2011 at 9:23 AM, Narendra Sisodiya < naren...@narendrasisodiya.com> wrote:
> http://mail.python.org/pipermail/image-sig/2011-January/006639.html > > So i tried my code snippet and it worked. The above thread asks you to convert to greyscale and then do a pixel check. For a sufficiently big picture(given most of the pictures today are >2-5MB, this is expensive operation. My code snippet, essentially iterates through the pixels in one go and based on the threshhold of each of the RGB values, suitably converts it to B or W. _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers