[Lazarus] Byte-Alignment of TBitmap
listbox at martoks-place.de
Mon Jan 1 20:45:05 CET 2018
Am 01.01.2018 um 20:22 schrieb Marc Weustink via Lazarus:
> Why does than mean that the alignment is wrong? Based on what did you draw that conclusion?
The value of PixelFormat has little relation to the actual pixel format, except
for 1bpp and 32bpp.
For example, a pf8bit bitmap should have 1 Byte per pixel, so the ScanLine is
effectively a PByteArray. This is not the case for LCL-bitmaps...
Ceterum censeo b32079 esse sanandam.
More information about the Lazarus