问题
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.
来源:https://stackoverflow.com/questions/52364303/getting-multi-threaded-safe-rgba-values-from-a-decoded-png-image-running-android