Hi, guys --
The webserver does not want to process EXIF DATA, so in B4A I rotated photos and corrected EXIF DATA using libraries. Now need to do the same in B4i.
I took a photo with landscape orientation (4608 * 3456) from Android smartphone.
Internally pixeles are stored in portrait order and "orientation" in EXIF is set to 90 degrees CW. All "normal" Windows programs show this JPG file correctly.
In B4i I retrieved the orientation from Bitmap using GetField ("imageOrientation") and expected that I need to rotate 90 or 270 degrees. No, this does not work.
Alone variant, which I found, to show a photo in imageview correctly was imageview.bitmap = bitmap.Rotate (0).
Ok, if IOS calculates so, not a problem. The problem is another. B4i reports that rotated bitmap has the same size, as an original bitmap (width = 3456, height = 4608) instead of expected 4608 * 3456 and this is a serious trouble.
Any ideas ?