[Lazarus] Bitmap.Assign loses PixelFormat information on Mac OS X

Marc Weustink marc.weustink at cuperus.nl
Fri Mar 14 10:17:46 CET 2008

Dominique Louis wrote:
> Hi all,
>    If I assign a 24bit Bitmap to a newly created bitmap, the PixelFormat 
> info is not copied across.
> I am doing the following...
> bbb := TBitmap.Create;
> bbb.Assign(My24bitBitmap);
> bbb is no longer 24bit. It now appears to be pfDevice.

At this moment all bitmaps are pfDevide per def. Other formats aren't 
really supported.


More information about the Lazarus mailing list