On Tue, Oct 20, 2009 at 4:51 PM, Ivan Mincik <<a href="mailto:ivan.mincik@gista.sk">ivan.mincik@gista.sk</a>> wrote:<br>><br>> On Tue, Oct 20, 2009 at 8:33 PM, Laura & Edward Cannon<br>> <<a href="mailto:cannon.el@gmail.com">cannon.el@gmail.com</a>> wrote:<br>
> > Hm.. you seem to be right. One thing you might do is im =<br>> > Image.open("test.png").convert("RGBA") which seems to solve the<br>> > transparency problem, at the expense of a slightly larger image file.<br>
><br>> No, even if using convert("RGBA") I get incorrect result :(<br><br>Maybe the problem is in the decoder. Can't you use a PNG in RGBA mode instead of P mode? If it is a bug, you have to do a workaround before or after you open the PNG with PIL.<br>