12-06-2010 03:07 PM
From third party app, when we take photo on Torch, it looks correct on Torch, but when we grab the image data through fileConnection from file system, the image is rotated. Same code works for all the other devices except Torch OS 6.0.
Is this an API issue for OS 6.0?
12-10-2010 11:54 AM
What are you doing when you grab the image? Are you displaying it in a bitmap field or copying it for view on a PC?
The image should have orientation information stored in the EXIF information of the JPEG.
12-10-2010 05:03 PM
I have the exact same problem. I'm retrieving the file from the file system. I don't do any processing of the file. I just pass the file path back to my WebWorks app and display in HTML using <img src="filePath">.
It's not just the Torch. Happens on 9550 as well.
The image always gets transposed. If you hold the phone on its left side, it actually shows correctly on the page.
12-17-2010 06:31 PM
The pictures taken show up correctly (not rotated) in the Media > Pictures viewer on the device.
When I display the image in the browser (5 or 6), it shows up rotated CCW by 90 degrees.
If I upload the image to a remote server, the file shows up correctly (not rotated).
So the picture file itself seems fine. Could it be the browser?