Probably I am missing something, but I can't find a way to create FMX bitmap with a specific pixel format. To be more specific, I need to create FMX.Graphics.TBitmap
with pixel format BGR_565
. The Constructor doesn't have an option to define PixelFormat. The property PixelFormat
is readonly (unlike VCL version of TBitmap
).
How to create FMX.Graphics.TBitmap with specific pixel format?
Asked Answered
© 2022 - 2024 — McMap. All rights reserved.
TBitmap
throughTBitmap.Map
method where I tried to replace the bitmap data record by a new one created with the desired pixel format. No change (Tokyo). – Yehpf16bit
, save it to file, load into FM Bitmap and resize? (same for resourcestream storage) – LenardDXGI_FORMAT_B8G8R8A8_UNORM
format only. – Yeh