4 ms·
Frankly, I wouldn't begrudge a website for not correctly parsing an svg I composed entirely with javascript. It's annoying you can't just "flatten" or "bake" s
by jszymborski 2y ago
Frankly, I wouldn't begrudge a website for not correctly parsing an svg I composed entirely with javascript.
It's annoying you can't just "flatten" or "bake" such an svg like yours into one composed entirely of elements (unless one exists?)
- csande17 2y agoOften you can open the SVG in a browser and then use the developer tools to copy out the resulting nodes as "flat" SVG source code. Chrome even includes a --dump-dom flag you can use to do this on the command line, although I haven't tested it with an SVG.
- jszymborski 2y agoClever!