{"action":"created","issue":{"url":"https://api.github.com/repos/imgly/rembrandt/issues/13","repository_url":"https://api.github.com/repos/imgly/rembrandt","labels_url":"https://api.github.com/repos/imgly/rembrandt/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/imgly/rembrandt/issues/13/comments","events_url":"https://api.github.com/repos/imgly/rembrandt/issues/13/events","html_url":"https://github.com/imgly/rembrandt/issues/13","id":479813043,"node_id":"MDU6SXNzdWU0Nzk4MTMwNDM=","number":13,"title":"browser result.compositionImage base64 encoded incorrectly","user":{"login":"rifflesbits","id":27785427,"node_id":"MDQ6VXNlcjI3Nzg1NDI3","avatar_url":"https://avatars1.githubusercontent.com/u/27785427?v=4","gravatar_id":"","url":"https://api.github.com/users/rifflesbits","html_url":"https://github.com/rifflesbits","followers_url":"https://api.github.com/users/rifflesbits/followers","following_url":"https://api.github.com/users/rifflesbits/following{/other_user}","gists_url":"https://api.github.com/users/rifflesbits/gists{/gist_id}","starred_url":"https://api.github.com/users/rifflesbits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rifflesbits/subscriptions","organizations_url":"https://api.github.com/users/rifflesbits/orgs","repos_url":"https://api.github.com/users/rifflesbits/repos","events_url":"https://api.github.com/users/rifflesbits/events{/privacy}","received_events_url":"https://api.github.com/users/rifflesbits/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-08-12T19:32:03Z","updated_at":"2019-08-15T21:09:23Z","closed_at":"2019-08-15T21:09:23Z","author_association":"NONE","body":"The base64 image data returned in the result.compositionImage is incorrect.\r\n\r\nIf you paste its contents in one of the online base64 image decoders - it will not produce an image.\r\n\r\n`$('#diffImg').attr('src', 'data:image/png;base64,' + result.compositionImage.toString('base64'));`"},"comment":{"url":"https://api.github.com/repos/imgly/rembrandt/issues/comments/521798631","html_url":"https://github.com/imgly/rembrandt/issues/13#issuecomment-521798631","issue_url":"https://api.github.com/repos/imgly/rembrandt/issues/13","id":521798631,"node_id":"MDEyOklzc3VlQ29tbWVudDUyMTc5ODYzMQ==","user":{"login":"rifflesbits","id":27785427,"node_id":"MDQ6VXNlcjI3Nzg1NDI3","avatar_url":"https://avatars1.githubusercontent.com/u/27785427?v=4","gravatar_id":"","url":"https://api.github.com/users/rifflesbits","html_url":"https://github.com/rifflesbits","followers_url":"https://api.github.com/users/rifflesbits/followers","following_url":"https://api.github.com/users/rifflesbits/following{/other_user}","gists_url":"https://api.github.com/users/rifflesbits/gists{/gist_id}","starred_url":"https://api.github.com/users/rifflesbits/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rifflesbits/subscriptions","organizations_url":"https://api.github.com/users/rifflesbits/orgs","repos_url":"https://api.github.com/users/rifflesbits/repos","events_url":"https://api.github.com/users/rifflesbits/events{/privacy}","received_events_url":"https://api.github.com/users/rifflesbits/received_events","type":"User","site_admin":false},"created_at":"2019-08-15T21:09:23Z","updated_at":"2019-08-15T21:09:23Z","author_association":"NONE","body":"I just saw that result.compositionImage value returned from rembrandt compare function is  actually the entire <img src=\"data:image/png;base64, 010101...\"> tag which wraps the data.  Closing issue."}}
{"actor":{"display_login":"rifflesbits"}}