[PYTHON IMAGE-SIG] putpalette

Seth Coe Seth_Coe@brown.edu
Tue, 12 Nov 1996 14:18:14 -0500

I am trying to convert an image to an array, and then back again, and am
having trouble with this when my image.mode = 'P', because I am not using
the palette to translate the data. I tried to use image.convert('P',palette)
, but Image.py calls self.im.dither, which does not exist. I tried to modify
it to call self.im.putpalette, but this function seems to be incomplete (it
returns None, for one). Anybody have any patches, or alternative solutiosn
for me?

Seth Coe

IMAGE-SIG - SIG on Image Processing with Python

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