I am uploading an image from my gallery and setting it as a bitmap. In my scenario, whenever I upload a screenshot from gallery,
The bitmap looks clean and fit
But, when I upload a picture which was taken from back/front camera, the bitmap is rotated 90 degrees.
How do I detect if an gallery image was taken by camera or screenshot?