[Lazarus] Bitmap.Assign loses PixelFormat information on Mac OS X
dominique at savagesoftware.com.au
Fri Mar 14 20:09:56 CET 2008
I totally understand that when you first create a Bitmap it should
not have a PixelFormat, so defaulting to pfDevice is fine, but surely in
the case of an Assign call it should copy the properties over as well. I
would be surprised if it does not work that way in Delphi.
Marc Weustink wrote:
> 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 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