[Lazarus] TImageList.AddMasked not working with TBitmap.PixelFormat := pf32bit

Marc Weustink marc.weustink at cuperus.nl
Tue Apr 14 10:29:12 CEST 2009


Boian Mitov wrote:
>      Hi Folks,
>  
> I am testing the:
> Lazarus-0.9.27-19324-fpc-2.2.5-20090411-win32.exe
> snapshot. I have had a bug that has been around for many months, and 
> finally had time to investigate it in this snapshot.
>  
> The TImageList.AddMasked does not work correctly 
> with TBitmap.PixelFormat := pf32bit; . It works with pf24bit but not 
> with pf32bit.

there is not a good reason to add a 32bit alpha image using a mask.
Anyway, in the current implementation, the added images are converted 
first. This is still a todo to fix.

Marc




More information about the Lazarus mailing list