{"action":"created","issue":{"url":"https://api.github.com/repos/mosch/react-avatar-editor/issues/248","repository_url":"https://api.github.com/repos/mosch/react-avatar-editor","labels_url":"https://api.github.com/repos/mosch/react-avatar-editor/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/mosch/react-avatar-editor/issues/248/comments","events_url":"https://api.github.com/repos/mosch/react-avatar-editor/issues/248/events","html_url":"https://github.com/mosch/react-avatar-editor/issues/248","id":323071857,"number":248,"title":"Error while converting returned CANVAS to DATA URL","user":{"login":"prabhu231197s","id":28388858,"avatar_url":"https://avatars1.githubusercontent.com/u/28388858?v=4","gravatar_id":"","url":"https://api.github.com/users/prabhu231197s","html_url":"https://github.com/prabhu231197s","followers_url":"https://api.github.com/users/prabhu231197s/followers","following_url":"https://api.github.com/users/prabhu231197s/following{/other_user}","gists_url":"https://api.github.com/users/prabhu231197s/gists{/gist_id}","starred_url":"https://api.github.com/users/prabhu231197s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prabhu231197s/subscriptions","organizations_url":"https://api.github.com/users/prabhu231197s/orgs","repos_url":"https://api.github.com/users/prabhu231197s/repos","events_url":"https://api.github.com/users/prabhu231197s/events{/privacy}","received_events_url":"https://api.github.com/users/prabhu231197s/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-15T05:31:35Z","updated_at":"2018-05-22T06:35:07Z","closed_at":"2018-05-19T07:23:28Z","author_association":"NONE","body":"I try to convert the returned canvas to base64 as\r\ncanvas = this.editor.getImageScaledToCanvas().toDataURL();\r\n\r\nbut it throws an error as,\r\n\r\nFailed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported."},"comment":{"url":"https://api.github.com/repos/mosch/react-avatar-editor/issues/comments/390878673","html_url":"https://github.com/mosch/react-avatar-editor/issues/248#issuecomment-390878673","issue_url":"https://api.github.com/repos/mosch/react-avatar-editor/issues/248","id":390878673,"user":{"login":"mosch","id":224866,"avatar_url":"https://avatars0.githubusercontent.com/u/224866?v=4","gravatar_id":"","url":"https://api.github.com/users/mosch","html_url":"https://github.com/mosch","followers_url":"https://api.github.com/users/mosch/followers","following_url":"https://api.github.com/users/mosch/following{/other_user}","gists_url":"https://api.github.com/users/mosch/gists{/gist_id}","starred_url":"https://api.github.com/users/mosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mosch/subscriptions","organizations_url":"https://api.github.com/users/mosch/orgs","repos_url":"https://api.github.com/users/mosch/repos","events_url":"https://api.github.com/users/mosch/events{/privacy}","received_events_url":"https://api.github.com/users/mosch/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T06:35:07Z","updated_at":"2018-05-22T06:35:07Z","author_association":"OWNER","body":"@ShintaroNippon it's not related to the code but to your setup. Check the Post on Stackoverflow."}}
{"actor":{"display_login":"mosch"}}