<div>This is known issue. GTK have no alpha yet but I created set of components which partially solve this problem by using BGRABitmap class, details: <a href="http://www.lazarus.freepascal.org/index.php/topic,12411.0.html">http://www.lazarus.freepascal.org/index.php/topic,12411.0.html</a> . Although there is no TImage yet but I can try create it.<br>
</div><div>For TrayIcon on GTK you must rebuild lazarus with -dUseStatusIcon switch. If tray still have no alpha then you must add this 3 lines posted by TrUsTeR:</div><div><a href="http://www.lazarus.freepascal.org/index.php/topic,6583.0.html">http://www.lazarus.freepascal.org/index.php/topic,6583.0.html</a></div>
<div>After this tray icon works perfect in my case.</div><br><div class="gmail_quote">2011/4/10 Leonardo M. Ramé <span dir="ltr"><<a href="mailto:l.rame@griensu.com">l.rame@griensu.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi, I was testing a sample project and found that on Windows, handling<br>
of PNGs with transparent backgrounds is working ok, but on Linux it<br>
doesn't work as expected. The image is a black line on the top of the<br>
image, with a Gaussian Blur applied on Photoshop, then saved to PNG with<br>
transparent background.<br>
<br>
I attached an image showing what I get on Windows vs Linux, also the<br>
original image.<br>
<br>
Thanks in advance,<br>
<font color="#888888">--<br>
Leonardo M. Ramé<br>
<a href="http://leonardorame.blogspot.com" target="_blank">http://leonardorame.blogspot.com</a><br>
</font><br>--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
<br></blockquote></div><br>