B4X:
Dim imgData As Map = Images.Get(url)
img = imgData.Get("image")
I want to load a BMP into my B4XImage object in B4A with the following code, but an image that should be vertical is displayed horizontally. This only happens with some images. In B4i, the same code works perfectly; it's as if iOS always handles it correctly, but B4A does not. I tried getting the image orientation from the data and then rotating it, but it sometimes fails. What could be the best solution?
- Should I keep trying the option of rotating it? Or maybe B4XImage already solves it in a way I haven't found? This only happens with some images.
Thanks.