convert_svg.py - Server Side SVG to PNG/JPEG/PDF conversion


Somebody has created a wonderful SVG on the client side, but wants to save the file. This Python CGI script takes SVG code and passes it to the underlying Java-based Batik toolkit, then spits back either a link to the new file or pipes the file directly back with the proper mime type.

Browse Code in SVN Repository