{"action":"created","issue":{"url":"https://api.github.com/repos/brunobar79/J-I-C/issues/12","labels_url":"https://api.github.com/repos/brunobar79/J-I-C/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/brunobar79/J-I-C/issues/12/comments","events_url":"https://api.github.com/repos/brunobar79/J-I-C/issues/12/events","html_url":"https://github.com/brunobar79/J-I-C/issues/12","id":48606550,"number":12,"title":"newImageData is null in iOS","user":{"login":"Karan-Sapkale","id":1847469,"avatar_url":"https://avatars.githubusercontent.com/u/1847469?v=3","gravatar_id":"","url":"https://api.github.com/users/Karan-Sapkale","html_url":"https://github.com/Karan-Sapkale","followers_url":"https://api.github.com/users/Karan-Sapkale/followers","following_url":"https://api.github.com/users/Karan-Sapkale/following{/other_user}","gists_url":"https://api.github.com/users/Karan-Sapkale/gists{/gist_id}","starred_url":"https://api.github.com/users/Karan-Sapkale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Karan-Sapkale/subscriptions","organizations_url":"https://api.github.com/users/Karan-Sapkale/orgs","repos_url":"https://api.github.com/users/Karan-Sapkale/repos","events_url":"https://api.github.com/users/Karan-Sapkale/events{/privacy}","received_events_url":"https://api.github.com/users/Karan-Sapkale/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-11-13T07:40:50Z","updated_at":"2015-04-10T06:46:58Z","closed_at":"2014-11-13T12:33:21Z","body":"compress: function(source_img_obj, quality, output_format){   \r\n             var mime_type = \"image/jpeg\";\r\n             if(typeof output_format !== \"undefined\" && output_format==\"png\"){\r\n                mime_type = \"image/png\";\r\n             }\r\n             var cvs = document.createElement(\"canvas\");\r\n             cvs.width = source_img_obj.naturalWidth;\r\n             cvs.height = source_img_obj.naturalHeight;\r\n             cvs.getContext(\"2d\").drawImage(source_img_obj, 0, 0);\r\n             var newImageData = cvs.toDataURL(mime_type, quality/100);\r\n             var result_image_obj = new Image();\r\n             result_image_obj.src = newImageData;\r\n             return result_image_obj;\r\n        },\r\n\r\nI am getting newImageData  ==> \"data:,\"\r\n\r\ndoes this plugin work for iOS? \r\n\r\nScenario : I want to take picture from iPad camera and upload on our server after compressing it."},"comment":{"url":"https://api.github.com/repos/brunobar79/J-I-C/issues/comments/91455060","html_url":"https://github.com/brunobar79/J-I-C/issues/12#issuecomment-91455060","issue_url":"https://api.github.com/repos/brunobar79/J-I-C/issues/12","id":91455060,"user":{"login":"Karan-Sapkale","id":1847469,"avatar_url":"https://avatars.githubusercontent.com/u/1847469?v=3","gravatar_id":"","url":"https://api.github.com/users/Karan-Sapkale","html_url":"https://github.com/Karan-Sapkale","followers_url":"https://api.github.com/users/Karan-Sapkale/followers","following_url":"https://api.github.com/users/Karan-Sapkale/following{/other_user}","gists_url":"https://api.github.com/users/Karan-Sapkale/gists{/gist_id}","starred_url":"https://api.github.com/users/Karan-Sapkale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Karan-Sapkale/subscriptions","organizations_url":"https://api.github.com/users/Karan-Sapkale/orgs","repos_url":"https://api.github.com/users/Karan-Sapkale/repos","events_url":"https://api.github.com/users/Karan-Sapkale/events{/privacy}","received_events_url":"https://api.github.com/users/Karan-Sapkale/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T06:46:58Z","updated_at":"2015-04-10T06:46:58Z","body":"I thought as well,\n\nPlease check your email.\n\nOn Fri, Apr 10, 2015 at 11:59 AM, Jonas Bruun Nielsen <\nnotifications@github.com> wrote:\n\n> @Karan-Sapkale <https://github.com/Karan-Sapkale>, sorry but the\n> attachment does not go through when replying to Github. You are welcome to\n> email me at jonas@jonasbnielsen.dk\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/brunobar79/J-I-C/issues/12#issuecomment-91449808>.\n>\n\n\n\n-- \nCheers!\nKaran Sapkale\n"}}