Open vincentbernat opened 10 years ago
:+1: That would indeed be awesome. Although the task seems quite daunting! Here's the probably most important resource about the topic: http://coding.smashingmagazine.com/2012/01/16/resolution-independence-with-svg/
This would be nice. Support could be added by switching to Wand and dumping Pillow/PIL
For reference, node has svg-sprite, it supports SVG optimization via SVGO. Python's equivalent to it is probably Scour
It would be nice to support SVG sprites as well. glue would take SVG files as input and output both PNG and SVG sprites, as well as the needed CSS to get compatibility with older versions of IE or Android Browser.
Here is some information for a nice cross-browser fallback: http://tobias.is/geeky/webperf/cross-browser-css-technique-for-svg-sprites-with-png-fallback/
Android 2.x support could be added by the way of Modernizr (with
.no-svg
).