On Tue, Oct 20, 2009 at 4:51 PM, Ivan Mincik &lt;<a href="mailto:ivan.mincik@gista.sk">ivan.mincik@gista.sk</a>&gt; wrote:<br>&gt;<br>&gt; On Tue, Oct 20, 2009 at 8:33 PM, Laura &amp; Edward Cannon<br>&gt; &lt;<a href="mailto:cannon.el@gmail.com">cannon.el@gmail.com</a>&gt; wrote:<br>

&gt; &gt; Hm.. you seem to be right. One thing you might do is im =<br>&gt; &gt; Image.open(&quot;test.png&quot;).convert(&quot;RGBA&quot;) which seems to solve the<br>&gt; &gt; transparency problem, at the expense of a slightly larger image file.<br>

&gt;<br>&gt; No, even if using convert(&quot;RGBA&quot;) I get incorrect result :(<br><br>Maybe the problem is in the decoder. Can&#39;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>