{ "id": "172986", "key": "MOD-2490", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2021-10-19T23:48:16.000+0000", "created": "2019-02-11T15:44:31.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "ImageFactory", "android", "exif", "image", "ios", "jpeg", "orientation" ], "versions": [], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2021-10-19T23:48: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": "14525", "name": "ImageFactory" } ], "description": "*Summary:*\r\nAll of the \"ti.imagefactory\" module's APIs ignore a JPEG's EXIF orientation if assigned on both Android and iOS. This typically happens with camera photos or images from the photo gallery. This causes the images generated from this module's methods such as {{compress()}}, {{imageAsCropped()}}, etc. to have the wrong orientation.\r\n\r\n*Solution:*\r\nAll APIs should compensate for the JPEG's EXIF orientation and generate a new image using an upright orientation.\r\n\r\n*Note:*\r\nWe could copy the EXIF orientation from the source image to the generated image, but this will only work for JPEGs and not PNGs. Our APIs support a \"format\" option which allows it to generate a PNG, making this not a viable solution.\r\n\r\n*Work-Around:*\r\nThere is a community module \"fh.imagefactory\" that handles EXIF orientation, but it's for Android only.\r\nhttps://github.com/freshheads/fh.imagefactory\r\n", "attachment": [], "flagged": false, "summary": "ImageFactory: JPEG EXIF orientation is wrongly ignored", "creator": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "459044", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR (ti.imagefactory): https://github.com/appcelerator-modules/ti.imagefactory/pull/192\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-09-15T04:26:12.000+0000", "updated": "2021-09-15T04:26:12.000+0000" }, { "id": "459120", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed in release...\r\nhttps://github.com/appcelerator-modules/ti.imagefactory/releases/tag/v5.1.0-android\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2021-10-19T23:48:14.000+0000", "updated": "2021-10-19T23:48:14.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }