{"action":"created","issue":{"url":"https://api.github.com/repos/mapnik/mapnik/issues/2918","labels_url":"https://api.github.com/repos/mapnik/mapnik/issues/2918/labels{/name}","comments_url":"https://api.github.com/repos/mapnik/mapnik/issues/2918/comments","events_url":"https://api.github.com/repos/mapnik/mapnik/issues/2918/events","html_url":"https://github.com/mapnik/mapnik/issues/2918","id":88876924,"number":2918,"title":"Support for loading SVG images into raster buffers.","user":{"login":"danpat","id":1892250,"avatar_url":"https://avatars.githubusercontent.com/u/1892250?v=3","gravatar_id":"","url":"https://api.github.com/users/danpat","html_url":"https://github.com/danpat","followers_url":"https://api.github.com/users/danpat/followers","following_url":"https://api.github.com/users/danpat/following{/other_user}","gists_url":"https://api.github.com/users/danpat/gists{/gist_id}","starred_url":"https://api.github.com/users/danpat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpat/subscriptions","organizations_url":"https://api.github.com/users/danpat/orgs","repos_url":"https://api.github.com/users/danpat/repos","events_url":"https://api.github.com/users/danpat/events{/privacy}","received_events_url":"https://api.github.com/users/danpat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapnik/mapnik/labels/post3x","name":"post3x","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"danpat","id":1892250,"avatar_url":"https://avatars.githubusercontent.com/u/1892250?v=3","gravatar_id":"","url":"https://api.github.com/users/danpat","html_url":"https://github.com/danpat","followers_url":"https://api.github.com/users/danpat/followers","following_url":"https://api.github.com/users/danpat/following{/other_user}","gists_url":"https://api.github.com/users/danpat/gists{/gist_id}","starred_url":"https://api.github.com/users/danpat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danpat/subscriptions","organizations_url":"https://api.github.com/users/danpat/orgs","repos_url":"https://api.github.com/users/danpat/repos","events_url":"https://api.github.com/users/danpat/events{/privacy}","received_events_url":"https://api.github.com/users/danpat/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-06-17T00:41:27Z","updated_at":"2015-06-18T16:57:22Z","closed_at":null,"body":"From: mapnik/node-mapnik#466\r\n\r\nWould like support for directly loading `.svg` files into raster buffers for compositing and outputting in raster formats.\r\n\r\nNeed to add magic number detection to `src/image_reader.cpp` and use the `svg_renderer_agg` to turn an SVG into a raster buffer.  Can use `utils/svg2png/svg2png.cpp` as a starting point."},"comment":{"url":"https://api.github.com/repos/mapnik/mapnik/issues/comments/113219625","html_url":"https://github.com/mapnik/mapnik/issues/2918#issuecomment-113219625","issue_url":"https://api.github.com/repos/mapnik/mapnik/issues/2918","id":113219625,"user":{"login":"tmcw","id":32314,"avatar_url":"https://avatars.githubusercontent.com/u/32314?v=3","gravatar_id":"","url":"https://api.github.com/users/tmcw","html_url":"https://github.com/tmcw","followers_url":"https://api.github.com/users/tmcw/followers","following_url":"https://api.github.com/users/tmcw/following{/other_user}","gists_url":"https://api.github.com/users/tmcw/gists{/gist_id}","starred_url":"https://api.github.com/users/tmcw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmcw/subscriptions","organizations_url":"https://api.github.com/users/tmcw/orgs","repos_url":"https://api.github.com/users/tmcw/repos","events_url":"https://api.github.com/users/tmcw/events{/privacy}","received_events_url":"https://api.github.com/users/tmcw/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T16:57:22Z","updated_at":"2015-06-18T16:57:22Z","body":"I think an explicit path for SVGs is cleaner than treating them as images, since there's a potential that we would add other parsing parameters down the line."}}