I have an application which lets the user select an image, resizes that image using bitmaps, then converts this image into base64 and uploads it to a PHP script where its then decoded and saved to a file.
The problem is that when the user selects a image which is stored in the camera folder of the gallery it rotates it by 90 degrees anticlockwise. If you select a photo in any other folder, the result is as expected (not rotated).
Has anyone had any experience with either bitmaps, base64 or sending over HTTP whereby it rotates images?? i really have no idea what it could be.
I can supply source code if required.