Hi,
The image in the chooser is shown right, no matter if the picture was taken portrait or landscape or if it is a screenshot.
I've tried using the ExifData library, but orientation returns always 0:
I've checked here and here; It's correct to assume that if the orientation is 0, the picture has no orientation registered?
Thank you!
B4X:
Sub chooser_Result (Success As Boolean, Dir As String, FileName As String)
If Success Then
Dim bmp As Bitmap
bmp.Initialize(Dir, FileName)
imgFoto.Bitmap = bmp
End If
.
.
.
The image in the chooser is shown right, no matter if the picture was taken portrait or landscape or if it is a screenshot.
I've tried using the ExifData library, but orientation returns always 0:
B4X:
Dim exif As ExifData
Dim sOrientation As String
exif.Initialize(Dir, FileName)
sOrientation = exif.getAttribute(exif.TAG_ORIENTATION)
I've checked here and here; It's correct to assume that if the orientation is 0, the picture has no orientation registered?
Thank you!