How test real TBitmap.PixelFormat? lazarus / 31-LCL ---------------------------------------------------------------------- Milsa · 2015-04-06 22:15 I have program with: Bitmap.PixelFormat := pf24bit Virtual Windows want not change PixelFormat. Real PixelFormat in this case is pf16bit. How can I test real PixelFormat in program? Now, program will crash, when bitmap is full. I have 3 bytes for color, real is 2 bytes for color. Crash is on 66 % drawing. ---------------------------------------------------------------------- circular · 2015-04-07 00:15 Maybe by accessing RawImage property ---------------------------------------------------------------------- Milsa · 2015-04-07 20:09 Thank you very much.