[Image-SIG] more descriptive error for image.paste

Janto Dreijer jantod at gmail.com
Thu Sep 6 17:09:40 CEST 2007


I'd really appreciate it if Image.paste can be more explicit about
what went wrong than just "ValueError: images do not match".

I've been sitting here for at least an hour trying to figure out why
the images are incompatible. Different color mode? Pasted image size
!= bbox size? bbox outside image? Wrong parmeters? Argh! Just tell me!

Thanks
Janto


More information about the Image-SIG mailing list