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

Luiz Americo Pereira Camara luizmed at oi.com.br
Sun Apr 13 12:57:19 CEST 2008


Luiz Americo Pereira Camara wrote:
> 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
>>     

In a second look, loading both files with TBitmap.LoadFromFile and 
setting Transparent to true, both will work properly. So it seems is not 
a error in loading procedure.

It seems like a bug in TImageList code. I'll wait for some feedback 
before sending the bug report.

Luiz

> 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?
>
> Are you using windows?
>
> Luiz
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
>   




More information about the Lazarus mailing list