{ "id": "61771", "key": "TIMOB-1139", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11258", "description": "Holding Pen for Triaged Issues", "name": "Backlog", "archived": false, "released": false } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-10-26T17:03:16.000+0000", "created": "2011-04-15T02:45:00.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "album", "camera", "ios", "iphone", "orientation", "photos" ], "versions": [], "issuelinks": [], "assignee": { "name": "rseagraves", "key": "rseagraves", "displayName": "Reggie Seagraves", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-10-26T17:03:16.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

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

\n

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

\n

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

\n

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

\n

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

{html}", "attachment": [], "flagged": false, "summary": "Image orientations from gallery or camera wrong when imageEditing is false on device", "creator": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "kosso", "key": "kosso", "displayName": "kosso", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "170585", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "body": "not valid, does not reproduce in \r\nTiMOB sdk version: 1.7.4.v20111025165811 \r\nStudio version: 1.0.6.201110251616 \r\nOS version: OSX 10.7.2 Lion \r\nDevices tested on: iPhone 3.1.2, 4.3.5, 5.0", "updateAuthor": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-10-26T17:02:53.000+0000", "updated": "2011-10-26T17:02:53.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }