[PYTHON IMAGE-SIG] ImageChops bug?

Fredrik Lundh fredrik_lundh@ivab.se
Sat, 22 Mar 1997 16:50:21 +0100


> If I convert them to RGB images before taking their difference, the
> difference image displays fine.  Seems like a bug in ImageChops.difference
> or its underlying helper functions.

Yep, the ImageChops functions drops the palette, something that
(later) gives the ValueError exception you got.  This is on the list
of palette related problems I'm working on for the moment.  (on the
other hand, I'm not sure what palette to set on the resulting image;
maybe the result should be an "L" image instead?).

> This is PIL 0.2b5, by the way.

0.2b4, I hope? ;-)

Cheers	/F (http://hem1.passagen.se/eff)

_______________
IMAGE-SIG - SIG on Image Processing with Python

send messages to: image-sig@python.org
administrivia to: image-sig-request@python.org
_______________