Cro <prah...@gmail.com> wrote: > >As the title sais, i am trying to extract pixel colors from images, in >Python 3. >... >Can anyone suggest how to do that ? >The bigger problem is that i need to extract pixel colors for many >types of images : JPEG, PNG, BMP, GIF. For this, i might need >different codecs... I am not good at image formats and codecs. > >I just want to know if i can do this in the simple way, or i have to >beg PIL to implement support for Python 3...
There is no simple way, short of using PIL. You cannot begin to imagine the complexity involved in handling all of the strange variations on JPEG, PNG, and GIF. You REALLY do not want to try to reimplement all of that. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. -- http://mail.python.org/mailman/listinfo/python-list