{"action":"created","issue":{"url":"https://api.github.com/repos/nodeca/pica/issues/29","labels_url":"https://api.github.com/repos/nodeca/pica/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/nodeca/pica/issues/29/comments","events_url":"https://api.github.com/repos/nodeca/pica/issues/29/events","html_url":"https://github.com/nodeca/pica/issues/29","id":111423565,"number":29,"title":"Usage example","user":{"login":"thokari","id":6663430,"avatar_url":"https://avatars.githubusercontent.com/u/6663430?v=3","gravatar_id":"","url":"https://api.github.com/users/thokari","html_url":"https://github.com/thokari","followers_url":"https://api.github.com/users/thokari/followers","following_url":"https://api.github.com/users/thokari/following{/other_user}","gists_url":"https://api.github.com/users/thokari/gists{/gist_id}","starred_url":"https://api.github.com/users/thokari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thokari/subscriptions","organizations_url":"https://api.github.com/users/thokari/orgs","repos_url":"https://api.github.com/users/thokari/repos","events_url":"https://api.github.com/users/thokari/events{/privacy}","received_events_url":"https://api.github.com/users/thokari/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodeca/pica/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-14T15:29:41Z","updated_at":"2016-01-19T03:20:48Z","closed_at":"2015-10-19T20:38:14Z","body":"Hi, can you give an example, on what to do with the output (from the resizeBuffer() method) ? Specifically, I would like to convert it to something I can directly use with an <img> HTML element."},"comment":{"url":"https://api.github.com/repos/nodeca/pica/issues/comments/172726598","html_url":"https://github.com/nodeca/pica/issues/29#issuecomment-172726598","issue_url":"https://api.github.com/repos/nodeca/pica/issues/29","id":172726598,"user":{"login":"micky2be","id":728644,"avatar_url":"https://avatars.githubusercontent.com/u/728644?v=3","gravatar_id":"","url":"https://api.github.com/users/micky2be","html_url":"https://github.com/micky2be","followers_url":"https://api.github.com/users/micky2be/followers","following_url":"https://api.github.com/users/micky2be/following{/other_user}","gists_url":"https://api.github.com/users/micky2be/gists{/gist_id}","starred_url":"https://api.github.com/users/micky2be/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micky2be/subscriptions","organizations_url":"https://api.github.com/users/micky2be/orgs","repos_url":"https://api.github.com/users/micky2be/repos","events_url":"https://api.github.com/users/micky2be/events{/privacy}","received_events_url":"https://api.github.com/users/micky2be/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T03:20:48Z","updated_at":"2016-01-19T03:20:48Z","body":"Would love to see a bit more details about this API.\r\nWhat are the optional properties?\r\nCan I leave `width` and `height` empty?\r\nWhat happen if I set only `toWidth` but not `toHeight`? Is it keeping the ratio?\r\n..."}}