+1 for this. After forking the demo, I was able to add support via a library that converts SVG to HTML5 canvas, then to PNG, but it looks like such utilities only support a subset of the SVG specification so I wasn't able to get gradients working properly.
You can find that work here. Perhaps someone with more knowledge will be able to figure this out; it's also possible that another image processing pipeline entirely is necessary to do this.
+1 for this. After forking the demo, I was able to add support via a library that converts SVG to HTML5 canvas, then to PNG, but it looks like such utilities only support a subset of the SVG specification so I wasn't able to get gradients working properly.
You can find that work here. Perhaps someone with more knowledge will be able to figure this out; it's also possible that another image processing pipeline entirely is necessary to do this.