Chaos wrote:
> As my first attempt to loop through every pixel of an image, I used
>
>         for thisY in range(0, thisHeight):
>             for thisX in range(0, thisWidth):
>                   #Actions here for Pixel thisX, thisY
>
> But it takes 450-1000 milliseconds
>
> I want speeds less than 10 milliseconds
>
> I have tried using SWIG, and pypy but they all are unsuccessfull in
> compiling my files.

I think you are using PIL but I don't know what version.

Check out this page.
http://effbot.org/zone/image-histogram-optimization.htm

HTH...
jay

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to