Closed JesseCrocker closed 4 years ago
For reference, this is the svg rendered with Mapnik v3.0.x's svg2png
utility:
To my eye it looks somewhere between the spritezero output and the imagemagick output. Spritezero under the hood rasterizes with mapnik and then lays out with node-mapnik.blend. It may be that the blend step is introducing slightly more blurring. I'm not sure if this is avoidable.
It may be that the blend step is introducing slightly more blurring. I'm not sure if this is avoidable.
I don't think this is easily avoidable. Not without snapping the svg location to an integer grid, which is not something I see myself or others having time to invest in. If someone is interested in diving deeper into this issue, please comment, but for now I'll close.
spritezero-cli version 2.0.0 spritezero version 4.0.1
Source svg: https://gist.github.com/JesseCrocker/c813239c149b7849d5efd733cf88eb3f
Comparison between output from spritezero and convert(Imagemagick)
spritezero output:
imagemagick output: