{ "id": "111293", "key": "AC-2539", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-03-18T14:13:34.000+0000", "created": "2013-03-18T05:54:36.000+0000", "labels": [ "JSPDF", "iphone", "titanium" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:36.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": "14545", "name": "Documentation" }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "i am trying to add image in PDF generated using jsPDF for iPhone \r\nbut i can not add image in PDF anyway...", "attachment": [], "flagged": false, "summary": "how can i add image in PF ", "creator": { "name": "jnj.idr@gmail.com", "key": "jnj.idr@gmail.com", "displayName": "jayesh joshi", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jnj.idr@gmail.com", "key": "jnj.idr@gmail.com", "displayName": "jayesh joshi", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titnaium studio 3.0 \r\nalloy framework \r\n", "comment": { "comments": [ { "id": "242612", "author": { "name": "jnj.idr@gmail.com", "key": "jnj.idr@gmail.com", "displayName": "jayesh joshi", "active": true, "timeZone": "America/Los_Angeles" }, "body": "var file_iamge1 = Ti.Filesystem.getFile(Ti.Filesystem.getApplicationDataDirectory(), 'image1.jpg');\n\t\t\nfile_iamge1.write(painter.toBlob);\nvar tempblob = file_iamge1.read();\nvar encoded = Ti.Utils.base64encode(tempblob);\nvar strn = encoded.toString();\ndoc.addImage(\"data:image/jpeg;base64,\" + encoded, \"JPEG\", 10, 10, 154, 94);\n\n\n\nhttps://github.com/MrRio/jsPDF/blob/master/dist/jspdf.source.js\n\nin JSPDF file the error is getJpegSize could not find the size of the image\n\n", "updateAuthor": { "name": "jnj.idr@gmail.com", "key": "jnj.idr@gmail.com", "displayName": "jayesh joshi", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-18T05:57:57.000+0000", "updated": "2013-03-18T05:57:57.000+0000" }, { "id": "242659", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is likely a better question for the Q&A, not a ticket. Ask this in the Q&A and you'll likely get a response from someone who has done something similar before: http://developer.appcelerator.com/questions/newest", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-18T13:37:00.000+0000", "updated": "2013-03-18T13:37:00.000+0000" }, { "id": "285976", "author": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this since it is NOT a bug report. A recommendation on how to resolve this has been posted.", "updateAuthor": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-27T19:31:31.000+0000", "updated": "2013-12-27T19:31:31.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }