{ "id": "83077", "key": "AC-2983", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-12-28T05:12:10.000+0000", "created": "2011-11-25T02:14:26.000+0000", "labels": [ "android", "defect", "toBlob", "toImage" ], "versions": [], "issuelinks": [], "assignee": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:47:59.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": "{code:borderStyle=solid}\r\nvar s = Ti.UI.create2DMatrix();\r\ns = s.rotate(90);\r\nvar originalImgView = Ti.UI.createImageView({\r\n\timage : myimage,\r\n\theight : myHeight,\r\n\twidth : myWidth,\t\r\n\ttransform : s,\r\n\ttop : 0,\r\n\tleft : 0\r\n});\r\nvar f = Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory, 'filename.jpg');\r\nvar rawdata = originalImgView.toBlob();\r\nf.write(rawdata);\r\n{code} \r\n\r\nThe image saved is not transformed.", "attachment": [], "flagged": false, "summary": ".toImage() & toBlob() is not capturing the visual state of object after transformation", "creator": { "name": "mekios", "key": "mekios", "displayName": "Giannis Sgouros", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mekios", "key": "mekios", "displayName": "Giannis Sgouros", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android 2.2\r\nTitanium SDK 1.7.5", "comment": { "comments": [ { "id": "177372", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Thanks for raising this ticket.\r\n\r\nIn order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist], and add any missing information.\r\n\r\nFurthermore, a test case must run without modification, as per the [Creating a Test Case|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase] section.\r\n\r\nI will mark this resolved for now. Please reopen it once it is complete, and I will move it to the main project.\r\n\r\nCheers", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-28T05:12:03.000+0000", "updated": "2011-12-28T05:12:03.000+0000" }, { "id": "183579", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist] to ensure that we can escalate it quickly. Read [How to Submit a Bug Report|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report] if you have not read it before, and always start a ticket using the [JIRA Ticket Template|https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template].\r\n\r\nThanks in advance", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-17T02:23:17.000+0000", "updated": "2012-02-17T02:23:17.000+0000" }, { "id": "195887", "author": { "name": "chris@chlab.ch", "key": "chris@chlab.ch", "displayName": "Christof Leuenberger", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This should not have been closed. It's still an issue (Titanium Mobile SDK 2.0.1 GA2) and the code example describes exactly what the problem is. Please look into fixing this.", "updateAuthor": { "name": "chris@chlab.ch", "key": "chris@chlab.ch", "displayName": "Christof Leuenberger", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-05-24T01:51:05.000+0000", "updated": "2012-05-24T01:51:05.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }