Open edemaine opened 8 years ago
...with style="image-rendering:optimizeSpeed"
in the <image>
tag, please.
Yuck. Chrome wants image-rendering:pixelated
and Inkscape wants image_rendering:optimizeSpeed
. Is there no one setting that everyone is happy with? Update: No. See these tests; I reported this issue as bugs for Inkscape and Chrome.
I tried directly adding an <image>
tag in the mapping file, but the parser dies if I use a proper xlink:href="foo.png"
tag (something about the xlink
namespace). Chrome is OK with just href="foo.png"
, but Inkscape really needs the xlink:
prefix. So this bug needs to be fixed in any case...
In a perfect world, we could use SVG Tiler to create PNG files directly, with the resolution matching the image images. Right now, the best way to do that seems to be ImageMagick's montage
. :-/
Could we allow png files in addition to svg for individual tiles? Should just have to wrap them in an
<image>
tag, but would be nice to be automatic. This would be especially helpful for retro video games.