[Tutor] Questions about PIL

Chris Hengge pyro9219 at gmail.com
Wed Nov 8 23:56:56 CET 2006


I'm trying to figure out how to compare im1 to im2 and recognize the
difference. I dont care what the difference is...

something like

if im1 is not im2:
     print "Not same"

I've tried im.tostring() but that doesn't ever enter the loop either.

*******************************************************************************************
Second question is this:
Is there a way to divide the screen so I only grab maybe the lower right
200x200 pixels or some such?
Or possibly a way to seperate the image into a grid so I could just take the
grid I wanted?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20061108/e2173d0b/attachment.htm 


More information about the Tutor mailing list