Re: [MSEide-MSEgui-talk] alpha channel in images

2012-02-27 Thread Graeme Geldenhuys
On 27 February 2012 14:57, Martin Schreiber wrote: > ...snip... > the accordant color channels. XRender supports this formats natively. > The backend code is in lib/common/graphics/mse*gdi.pas gdi_copyarea(). Thank you very much for the info, Martin. -- Regards,   - Graeme - ___

Re: [MSEide-MSEgui-talk] alpha channel in images

2012-02-27 Thread Martin Schreiber
Am 27.02.2012 13:20, schrieb Graeme Geldenhuys: > Hi Martin, > > This is not directly related to MSEgui, but rather a "How did you do > it?" question. I've added PNG support in fpGUI. As expected, painting > images with transparency, shows up wrong. How does one handle the > Alpha channel in the RG

[MSEide-MSEgui-talk] alpha channel in images

2012-02-27 Thread Graeme Geldenhuys
Hi Martin, This is not directly related to MSEgui, but rather a "How did you do it?" question. I've added PNG support in fpGUI. As expected, painting images with transparency, shows up wrong. How does one handle the Alpha channel in the RGBA pixel data of images? What do I need to tell XLib and GD