{ "id": "173315", "key": "TIMOB-26940", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2019-03-27T17:29:13.000+0000", "created": "2019-03-27T08:48:13.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "cropped", "gallery", "image" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2019-03-27T17:29:13.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": [], "description": "h6.Reproduce Steps\r\n1. Download any image of resolution(3264 X 2448) for testing purpose. (Attached test image)\r\n2. Run the following example code in a default alloy app.\r\n3. Drag the test image over to simulator.\r\n4. Run the example app, click on the Hello World text of the application and select the testing image from the gallery.\r\n5. Go to simulator folder, then check the saved image. For example in my test, the location is: (~/sliang⁩/⁨Library⁩/⁨Developer⁩/⁨CoreSimulator⁩/⁨Devices⁩/⁨9080930F-2320-4FF3-A042-D7955440EACE⁩/⁨data⁩/⁨Containers⁩/Data/⁨Application⁩/8D3292C5-4578-4B59-8956-29C36AB23BFF⁩/Documents⁩)\r\n\r\nh6.Problem\r\nOpen the image, you will see the resolution is only 3073 X 2305 and it get cropped at right side and bottom side. \r\n\r\nh6.Expect\r\nThe image should not get cropped.", "attachment": [ { "id": "66434", "filename": "index.js", "author": { "name": "backbone", "key": "backbone", "displayName": "Backbone User [X]", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-27T08:48:14.000+0000", "size": 934, "mimeType": "application/javascript" }, { "id": "66435", "filename": "originalImage.jpg", "author": { "name": "backbone", "key": "backbone", "displayName": "Backbone User [X]", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-03-27T08:48:14.000+0000", "size": 868435, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "IOS: select Image from gallery but got cropped unexpected", "creator": { "name": "backbone", "key": "backbone", "displayName": "Backbone User [X]", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": null, "comment": { "comments": [ { "id": "447235", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-03-27T17:29:13.000+0000", "updated": "2019-03-27T17:29:13.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }