"alainlioret" <[EMAIL PROTECTED]> wrote: > I try to use getpixel(xy) ... > > But I can't .. > > for example, I try : > > pix = im.getpixel(0,0) > > But I have an error. What's wrong ? > > Can you give me an example ?
getpixel expects a coordinate tuple, not two separate arguments. to
get the pixel in the upper left corner, use:
pix = im.getpixel((0, 0))
</F>
_______________________________________________
Image-SIG maillist - [email protected]
http://mail.python.org/mailman/listinfo/image-sig
