In B4i it works perfectly, even with the same code, but in B4A, after loading them, it fails after a while and crashes the app without showing any error. This has been tested on different devices, in both debug and release modes, and after loading some images, the app ends up closing without any explanation or error message in the logs.