Hi all,

I'm trying to compose a image with transparency in
mode RGBA. But first I changed some pixels values by
retrieving the palette with getpalette(). 
Things were doing ok until I decoupled a function
similar to getcolor() that inherits somewhat from
ImagePalette...

Now I get a 'IndexError: tuple index out of range'
error whenever I'm trying to mix-up palette entries 
and filtering a (converted) RGBA single-color band. :/

Is their something I missed about using ImagePalette
instances with Image.putpalette() ?

Thanks,

Etienne

PS, This is PIL version 1.1.5



--
Etienne Robillard <[EMAIL PROTECTED]>
JID: incidah AT njs.netlab.cz
YMS/MSN: granted14 AT yahoo.com
TEL: +1  514.962.7703

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Attachment: test_canvas.py
Description: 2235893009-test_canvas.py

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig

Reply via email to