"Varsha Purohit" <[EMAIL PROTECTED]> wrote

> AttributeError: 'str' object has no attribute 'load'    I am unable 
> to
> understand what is the problem. Can any one help me understand this
> imagechop module ??

When posting errors don't just post the last line. Post the whole
error message since the stacv trace often contains the most
useful data.

> file1 = "Nearest.jpg"
> file2 = "Bilinear.jpg"
>
> diff = ImageChops.difference(file1, file2)

You are passing file names not files so it may be that
you need to pass file objects? But I don't know because
I've bnever used ImageChops

Alan G. 


_______________________________________________
Tutor maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/tutor

Reply via email to