As svgs images aren't bitmaps imageproxy could either convert svgs to bitmaps and output the result. I found this snippet which does that.
The other option would be to do all transformations as svg, which I think is possible with github.com/ajstarks/svgo