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...
-- Regards, Martok Ceterum censeo b32079 esse sanandam. -- _______________________________________________ Lazarus mailing list [email protected] https://lists.lazarus-ide.org/listinfo/lazarus
