title: Is there a Python library for drawing SVG and saving them as other formats?
body: <p>As the title implies, I wrote a script because I needed to generate large numbers of images with random circles lines etc in them, for this I have used the <a href="https://pypi.python.org/pypi/svgwrite/" rel="nofollow">svgwrite</a> library to create the DOM objects.</p>
  
  <p>But for the next stage I need them in either the .png or .jpeg format, I'm pretty sure I could write a script to convert the previously generated SVG if they were saved on the hard disk.</p>
  
  <p>I would like it to be all in one script and not to create temporary svg files, so does somebody know of a Python library in which I can generate svg objects and then save them to .png or jpeg ?</p>
  
  <p>To be more to the point I need to generate some images circles etc, in a easy way as with with SVG, which then I can use with the PIL image processing library.</p>