{ "id": "167334", "key": "TIMOB-24641", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2019-07-30T16:01:43.000+0000", "created": "2017-04-27T15:30:12.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios" ], "versions": [ { "id": "19275", "description": "Patch release for 6.0.x regressions or important fixes", "name": "Release 6.0.3", "archived": false, "released": true, "releaseDate": "2017-03-22" } ], "issuelinks": [], "assignee": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-07-30T16:01:43.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": "15103", "name": "iPad", "description": "iPad support" } ], "description": "Photos taken with Ti.Media.showCamera are blurred (see attachments). This occurs while still in the showCamera-Window before clicking \"use photo\".\r\n\r\nThis affects SDK 5.5.1.GA and 6.0.3.GA.\r\n\r\n*Sample App*\r\n{code:javascript}\r\nvar win = Titanium.UI.createWindow();\r\nvar btn = Ti.UI.createButton({\r\n\ttitle: 'OPEN CAMERA'\r\n});\r\nbtn.addEventListener('singletap', function () {\r\n Ti.Media.showCamera({\r\n autorotate: false,\r\n showControls: true,\r\n success: function(event) {},\r\n cancel: function() {},\r\n error: function(error) {},\r\n saveToPhotoGallery: true,\r\n allowEditing: false,\r\n mediaTypes: [Ti.Media.MEDIA_TYPE_PHOTO]\r\n });\r\n});\r\nwin.add(btn);\r\nwin.open();\r\n{code}\r\n\r\n*Steps*\r\n* Build Sample-App\r\n* Click on \"OPEN CAMERA\"\r\n* Quality is good in live-preview\r\n* Take a photo\r\n* Quality is bad on image-preview", "attachment": [ { "id": "62130", "filename": "After.jpg", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-04-27T19:45:48.000+0000", "size": 1272694, "mimeType": "image/jpeg" }, { "id": "62126", "filename": "bad_quality_after.png", "author": { "name": "hendrikelsner", "key": "hendrikelsner", "displayName": "Hendrik Elsner", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-27T15:26:57.000+0000", "size": 6789213, "mimeType": "image/png" }, { "id": "62129", "filename": "Before.jpg", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-04-27T19:45:35.000+0000", "size": 123366, "mimeType": "image/jpeg" }, { "id": "62125", "filename": "good_quality_before.png", "author": { "name": "hendrikelsner", "key": "hendrikelsner", "displayName": "Hendrik Elsner", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-27T15:27:06.000+0000", "size": 10388604, "mimeType": "image/png" }, { "id": "62143", "filename": "SampleCamera.zip", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-02T06:43:10.000+0000", "size": 49524, "mimeType": "application/zip" } ], "flagged": false, "summary": "Photo taken with Media.showCamera are blurred", "creator": { "name": "hendrikelsner", "key": "hendrikelsner", "displayName": "Hendrik Elsner", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hendrikelsner", "key": "hendrikelsner", "displayName": "Hendrik Elsner", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Mac OS X 10.12.1 (64bit), Node.js 4.5.0, Titanium CLI 5.0.11, Titanium SDK 6.0.3.GA iphone", "comment": { "comments": [ { "id": "418207", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, We have tested the issue. The image quality is same in my view. See the screenshot attached (Before.jpg, After.jpg). Tested with SDK 6.0.3.GA.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-04-27T19:46:56.000+0000", "updated": "2017-04-27T19:46:56.000+0000" }, { "id": "418227", "author": { "name": "hendrikelsner", "key": "hendrikelsner", "displayName": "Hendrik Elsner", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hello Sharif,\r\n\r\nI noticed the effect only occurs on *the large iPad Pro* which my app is targeting. You can see a clear difference if you mount the device or stand it on a surface while taking the photo.\r\nThe image quality looks like a shaky picture. If you use the native camera-app this effect does not occur. Is there any kind of compression when taking photos with showCamera? ", "updateAuthor": { "name": "hendrikelsner", "key": "hendrikelsner", "displayName": "Hendrik Elsner", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-04-28T07:26:47.000+0000", "updated": "2017-04-28T07:26:47.000+0000" }, { "id": "418272", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, In my knowledge image taken with showCamera does not compress the taken image. Moving to engineering for farther analysis. ", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2017-04-28T19:26:55.000+0000", "updated": "2017-04-28T19:26:55.000+0000" }, { "id": "418343", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Assigning to [~vijaysingh] for further investigation. We do not do anything special for the iPad Pro, so this might be an iOS issue of the underlaying framework. I would propose that we provide a sample native iOS project, so [~hendrikelsner] can try it out. ", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-01T20:01:17.000+0000", "updated": "2017-05-01T20:01:17.000+0000" }, { "id": "418556", "author": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hendrikelsner] I have attached SampleCamera.zip, which is native iOS project for camera. Can you please do the image comparison captured with Titanium app and attached native app and let me know if both gives the same result or different. Thanks.\r\n", "updateAuthor": { "name": "vijaysingh", "key": "vijaysingh", "displayName": "Vijay Singh", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-02T06:51:50.000+0000", "updated": "2017-05-02T06:53:19.000+0000" }, { "id": "423756", "author": { "name": "hendrikelsner", "key": "hendrikelsner", "displayName": "Hendrik Elsner", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi @Vijay Singh , I tested your SampleCamera-App on the iPad Pro. The captured image is not blurred, so it's working as expected. There seems to be a difference to the Titanium image capture.", "updateAuthor": { "name": "hendrikelsner", "key": "hendrikelsner", "displayName": "Hendrik Elsner", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-07-10T07:46:51.000+0000", "updated": "2017-07-10T07:53:01.000+0000" }, { "id": "450160", "author": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Unable to reproduce. Images under 8.0.2.GA SDK did not show any blurriness.", "updateAuthor": { "name": "ahutton", "key": "ahutton", "displayName": "Alan Hutton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-07-30T16:01:43.000+0000", "updated": "2019-07-30T16:01:43.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }