{ "id": "99802", "key": "AC-2485", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-11-06T21:51:35.000+0000", "created": "2012-08-25T11:17:17.000+0000", "labels": [ "android", "imageview" ], "versions": [], "issuelinks": [ { "id": "20348", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "97772", "key": "TIMOB-10080", "fields": { "summary": "Android: Parity for Ti.Blob methods", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "dcassenti", "key": "dcassenti", "displayName": "Davide Cassenti", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-03-08T07:41:32.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "test case says it all\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n});\r\n \r\nvar fileName = \"http://3.bp.blogspot.com/_Z-tqVTd9fPI/TRzjXBKIKvI/AAAAAAAACEo/wflE9APHFWE/s200/steve_jobs.jpg\";\r\nvar xhr = Titanium.Network.createHTTPClient();\r\n \r\nimage = Ti.UI.createImageView({\r\n width:400,\r\n backgroundColor:'blue',\r\n // image:fileName,\r\n height:200\r\n});\r\n \r\nwin.add(image);\r\n \r\nxhr.onload = function() {\r\n var imgBlob = this.responseData;\r\n Ti.API.info(\"image size \" + imgBlob.width + \",\" + imgBlob.height);\r\n};\r\nxhr.open('GET', fileName);\r\n \r\nwin.open();\r\n \r\nxhr.send();\r\n{code}", "attachment": [], "flagged": false, "summary": "[android]when creating a blob from an image, width and height are not set", "creator": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "farfromrefuge", "key": "farfromrefuge", "displayName": "Martin Guillon", "active": false, "timeZone": "Europe/Berlin" }, "environment": "titanium 2.2.0 (master)\r\nandroid 3.2", "comment": { "comments": [ { "id": "226366", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-11-06T21:51:19.000+0000", "updated": "2012-11-06T21:51:19.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }