Alexander Stolte Expert Licensed User Longtime User Aug 3, 2020 #1 Hello, i have a problem, i see images from my native camera app are rotatet, how can i load the images with BitmapAsync with the right orientation?
Hello, i have a problem, i see images from my native camera app are rotatet, how can i load the images with BitmapAsync with the right orientation?
Erel B4X founder Staff member Licensed User Longtime User Aug 4, 2020 #2 It is not related to BitmapAsync. It is related to the bitmaps storing the orientation setting in the EXIF attributes. See this example: https://www.b4x.com/android/forum/threads/b4x-b4xpages-intent-based-camera.120721/#content Upvote 0
It is not related to BitmapAsync. It is related to the bitmaps storing the orientation setting in the EXIF attributes. See this example: https://www.b4x.com/android/forum/threads/b4x-b4xpages-intent-based-camera.120721/#content
Alexander Stolte Expert Licensed User Longtime User Aug 4, 2020 #3 The Problem is i need to load the image from the location to ini. the exif. Or is not the image loaded, but only the exif data, if i ini. the exif? Upvote 0
The Problem is i need to load the image from the location to ini. the exif. Or is not the image loaded, but only the exif data, if i ini. the exif?
Erel B4X founder Staff member Licensed User Longtime User Aug 5, 2020 #4 It doesn't load the image. It only reads the metadata. Best option if worried about performance is to rotate the ImageView instead of the bitmap. Upvote 0
It doesn't load the image. It only reads the metadata. Best option if worried about performance is to rotate the ImageView instead of the bitmap.
Alexander Stolte Expert Licensed User Longtime User Aug 6, 2020 #5 Erel said: It doesn't load the image. It only reads the metadata. Click to expand... I'll check it. Thanks. Erel said: Best option if worried about performance is to rotate the ImageView instead of the bitmap. Click to expand... without knowing if the image is distorted? Upvote 0
Erel said: It doesn't load the image. It only reads the metadata. Click to expand... I'll check it. Thanks. Erel said: Best option if worried about performance is to rotate the ImageView instead of the bitmap. Click to expand... without knowing if the image is distorted?
Erel B4X founder Staff member Licensed User Longtime User Aug 7, 2020 #6 Rotate the ImageView instead of rotating the bitmap. While I haven't tested it myself, I expect it to be faster. This is only relevant if you are loading many images. Upvote 0
Rotate the ImageView instead of rotating the bitmap. While I haven't tested it myself, I expect it to be faster. This is only relevant if you are loading many images.