getpixel with Python Imaging Library

jorma kala jjkk73 at gmail.com
Fri Nov 30 16:27:42 EST 2007


Hi,
I read that the getpixel function of the PIL library is relatively slow.
Which alternative is therefore faster and more efficient, accesing the
result of getdata() as a flat list or
using  the function load(), and accessing pixels through the resulting
2-dimensional array?

Thanks a lot.

j. kala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20071130/4bca3f38/attachment.html>


More information about the Python-list mailing list