Getting multi-threaded safe RGBA values from a dec

2019-08-30 08:02发布

Using Delphi 10.2.3:
I need to decode multiple PNG files in multiple background threads to ensure the UI thread is not freezing while the images are being decoded.

I need access to the RAW RGBA values from the decoded PNG without ever using TBitmap as it's not thread safe under Android.

I've seen references to using JBitmap, but my searches didn't yield any sample code demonstrating actual JBitmap use under Delphi so any help would be appreciated.

0条回答
登录 后发表回答