Fastest Way To Loop Through Every Pixel
John Machin
sjmachin at lexicon.net
Fri Jul 28 17:33:23 EDT 2006
Terry Reedy wrote:
> "Chaos" <psnim2000 at gmail.com> wrote in message
> news:1154053723.899787.72980 at i3g2000cwc.googlegroups.com...
> >> > 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
>
> Besides other suggestions, you might also take a look at Pygame which both
> wraps a C graphics library and has an interface to numeric.
:-)
Could your check_earlier_responses() gizmoid be made case-insensitive?
(-:
More information about the Python-list
mailing list