On 10/29/07, <b class="gmail_sendername">marius schebella</b> &lt;<a href="mailto:marius.schebella@gmail.com">marius.schebella@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I did not know that for coloring I do not need pix_alpha. sorry. so with<br>pix_rgba and color I can color all white pixels. nice.</blockquote><div><br>I don&#39;t think pix_rgba is needed either.&nbsp; On OSX any image file with a working alpha can be directly uploaded to the GPU and the alpha should work.&nbsp; Also, Animation and None codec movie files will do the same.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">otoh, the real bug seems to be in pix_alpha. it does not replace black<br>pixels with alpha, but with blue... (?)
</blockquote><div><br>pix_alpha makes a fake alpha channel from averaging the R G B channels.&nbsp; This is not the right object to use if the image already has a pre-computed alpha channel.&nbsp; It is possible that there is a bug in pix_alpha on Intel though.
<br></div><br></div>