Since OpenSCAD has only limited SVG export capabilities, this implementation exports the image as PNG. Also, because OpenSCAD lacks transparency and anti-aliasing, the background colour is replaced by transparency and the image is then scaled down.