Getting multi-threaded safe RGBA values from a decoded PNG image running Android

做~自己de王妃 提交于 2019-12-25 03:27:04

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!