Hi everybody,
I know a lot of people have already posted the same question, but libraries have evolved and changed. Ok here we go:
I have an app that takes a still picture using CamEx2 Version 1.3 and Version 10.0 of b4a with libraries at the same level.
When I take a picture (in Portrait fashion) with an Nexus LG 5x, everything works fine. Preview and saved pics are in the same orientation which is logged by CamEx2 as 270
When I take the same picture with a Sony Xperia, the saved picture is turned 90 degress anti-clockwise compared to preview. Orientation is logged by Camex2 as 270. Both phone run android 8.1
What is the best method to distinguish the difference and then rotate the picture.
Thanks for help
I know a lot of people have already posted the same question, but libraries have evolved and changed. Ok here we go:
I have an app that takes a still picture using CamEx2 Version 1.3 and Version 10.0 of b4a with libraries at the same level.
When I take a picture (in Portrait fashion) with an Nexus LG 5x, everything works fine. Preview and saved pics are in the same orientation which is logged by CamEx2 as 270
When I take the same picture with a Sony Xperia, the saved picture is turned 90 degress anti-clockwise compared to preview. Orientation is logged by Camex2 as 270. Both phone run android 8.1
What is the best method to distinguish the difference and then rotate the picture.
Thanks for help