fabian7593 / MagicalCamera

A library to take picture easy, transform your data in different format and save photos in your device
Apache License 2.0
338 stars 90 forks source link

magicalCamera.getPrivateInformation().getOrientation() is returning null #37

Closed ardakaplan closed 5 years ago

ardakaplan commented 6 years ago

Hi Fabian,

I need to know what is the orientation of photo. What is the correct way to do it ? Depends on it, i should rotate the image

fabian7593 commented 6 years ago

hI @ardakaplan Yes in android devices this is an common issue, because for example samsung device have the camera in landscape mode, different to others devices. Then, the get orientation with ExifInterface, isnt a solution for this issue... I think that the solution always was measure the photo, and determinate with the result, if is potrait or landscape orientation...

I need to fix it, but in another version