Hello all,
I'm using the camera api in my app in a way similiar to how it's
demonstrated in the wiki on this page -
http://phonegap.pbworks.com/Image-Upload-using-JQuery-and-Python
In my case the image data is copied from the camera or photo roll,
onto a small 60x60 image on the page. It works great, the image is the
correct orientation and all is well. I then copy the image data into a
hidden field and when the form is submitted I post the base64 encoded
string to my server, where it is decoded and written as a file in my
asp.net application.
The problem is that the orientation of the uploaded images is
inconsistent depending on whether or not the photo was taken in
portrait or landscape mode. Landscape images look ok, but photos taken
in portrait mode are rotated to the right 90 degrees.
Anyone know what the issue might be?
Also, I have the accelerometer disabled if that helps clarify things.
Thanks