Hi all,

this showed up in the Discussion around 32876 and 30509:
> LCL Tbitmap supports 1,24 and 32 bit images from what I see.

That is indeed true:
  luma.PixelFormat:= pf8bit;
  luma.SetSize(100, 100);
  // now: luma.RawImage.Description.Depth == 24

That of course means that the alignment for RawImage access (using Scanline) is
wrong, and code ported from Delphi doesn't work at all.

How is one supposed to do this? Or is that a not implemented feature?


-- 
Regards,
Martok

Ceterum censeo b32079 esse sanandam.

-- 
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to