Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1139] Image orientations from gallery or camera wrong when imageEditing is false on device

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-10-26T17:03:16.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsiOS
Labelsalbum, camera, ios, iphone, orientation, photos
Reporterkosso
AssigneeReggie Seagraves
Created2011-04-15T02:45:00.000+0000
Updated2011-10-26T17:03:16.000+0000

Description

After taking a photo, or choosing a photo from the gallery on a the device WITHOUT using imageEditing to crop the photo, the orientation is always wrong.

To test, see the KS demo in: Phone > Save To Gallery > Background Image

Select a photo which was taken with the iPhone and you'll see that photos taken in portrait are set to the background rotated right 90 degrees. Also, photos which are taken in landscape-upside down (camera at the bottom) are rotated 180 degrees when applied to a background.

This works on the simulator fine, but not on the iPhone.
Also, it works OK after imageEditing has been used to make the square version.

The only photos which appear correctly are those which are taken in landscape (with the camera at the top of the phone as you hold it)

Comments

  1. Dustin Hyde 2011-10-26

    not valid, does not reproduce in TiMOB sdk version: 1.7.4.v20111025165811 Studio version: 1.0.6.201110251616 OS version: OSX 10.7.2 Lion Devices tested on: iPhone 3.1.2, 4.3.5, 5.0

JSON Source