{"action":"created","issue":{"url":"https://api.github.com/repos/domenic/svg2png/issues/46","repository_url":"https://api.github.com/repos/domenic/svg2png","labels_url":"https://api.github.com/repos/domenic/svg2png/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/domenic/svg2png/issues/46/comments","events_url":"https://api.github.com/repos/domenic/svg2png/issues/46/events","html_url":"https://github.com/domenic/svg2png/issues/46","id":154891189,"number":46,"title":"How to create png from inline svg ","user":{"login":"vbazurtob","id":11370547,"avatar_url":"https://avatars.githubusercontent.com/u/11370547?v=3","gravatar_id":"","url":"https://api.github.com/users/vbazurtob","html_url":"https://github.com/vbazurtob","followers_url":"https://api.github.com/users/vbazurtob/followers","following_url":"https://api.github.com/users/vbazurtob/following{/other_user}","gists_url":"https://api.github.com/users/vbazurtob/gists{/gist_id}","starred_url":"https://api.github.com/users/vbazurtob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vbazurtob/subscriptions","organizations_url":"https://api.github.com/users/vbazurtob/orgs","repos_url":"https://api.github.com/users/vbazurtob/repos","events_url":"https://api.github.com/users/vbazurtob/events{/privacy}","received_events_url":"https://api.github.com/users/vbazurtob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-05-15T05:25:31Z","updated_at":"2016-07-08T09:42:38Z","closed_at":null,"body":"Hi,\r\n\r\nIm trying to use this library but i'm not reading an svg file from the filesystem. I want to parse an svg string containing all the markup and then convert it to png and render it to the standard response with mime type png. How can I achieve this with this library?\r\n\r\nI would start with the svg definition in a string variable like this:\r\n\r\nvar mySVG = \"<svg>...</svg>\"\r\n\r\nsvg2png(mySVG).then\r\n...\r\n\r\nor something like that"},"comment":{"url":"https://api.github.com/repos/domenic/svg2png/issues/comments/231318908","html_url":"https://github.com/domenic/svg2png/issues/46#issuecomment-231318908","issue_url":"https://api.github.com/repos/domenic/svg2png/issues/46","id":231318908,"user":{"login":"ArunMichaelDsouza","id":4924614,"avatar_url":"https://avatars.githubusercontent.com/u/4924614?v=3","gravatar_id":"","url":"https://api.github.com/users/ArunMichaelDsouza","html_url":"https://github.com/ArunMichaelDsouza","followers_url":"https://api.github.com/users/ArunMichaelDsouza/followers","following_url":"https://api.github.com/users/ArunMichaelDsouza/following{/other_user}","gists_url":"https://api.github.com/users/ArunMichaelDsouza/gists{/gist_id}","starred_url":"https://api.github.com/users/ArunMichaelDsouza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArunMichaelDsouza/subscriptions","organizations_url":"https://api.github.com/users/ArunMichaelDsouza/orgs","repos_url":"https://api.github.com/users/ArunMichaelDsouza/repos","events_url":"https://api.github.com/users/ArunMichaelDsouza/events{/privacy}","received_events_url":"https://api.github.com/users/ArunMichaelDsouza/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T09:42:38Z","updated_at":"2016-07-08T09:42:38Z","body":"+1"}}
{"actor":{"display_login":"ArunMichaelDsouza"}}