mapbox / spritezero

small opinionated sprites
Other
173 stars 63 forks source link

Use Async interfaces to svg rasterization and image encoding #6

Closed springmeyer closed 9 years ago

springmeyer commented 9 years ago

After bugs are solved like #3, it would likely help performance to start using the async interfaces node-mapnik provides. So mapnik.Image.fromSVGBytes and image.encode instead of their sync versions currently in use at https://github.com/mapbox/spritezero/blob/bd25089b0d5c880393e7cb24bb4fdf20e7de0767/index.js#L19-L20

bsudekum commented 9 years ago

All done