[Lazarus] Help drawing a transparent bitmap through a image list

Luiz Americo Pereira Camara luizmed at oi.com.br
Mon Apr 14 00:01:18 CEST 2008


wile64 wrote:
>
>
> 2008/4/13, Luiz Americo Pereira Camara <luizmed at oi.com.br 
> <mailto:luizmed at oi.com.br>>:
>
>     wile64 wrote:
>     >
>     > I just opened your image with Gimp and save for this to work.
>     > Your image is 2 bytes more, I suppose that the format is not well
>     > recognized by the reader FPC
>
>
>     Thanks, i opened the file in GIMP, saved back and really the new
>     file is
>     two bytes smaller. But i still could not get to work.
>
>     What are the values of Masked, BkColor, DrawingStyle properties
>     that you
>     used?
>
>
> Nothing, just replace the image in your example.
>
>     Are you using windows?
>
>
> No, Ubuntu GTK2
> I test under windows in 1 hour :)
>

Definitely a bug, if the image list is built using a win32 ide the 
transparency will not work but if is built with a gtk ide will work in 
both widget sets.

See bug 11150

Luiz




More information about the Lazarus mailing list