title: Convert SVG to an image (png, jpg)
body: <p>Hey i'm encountering the following problem.
  I want to convert an dinamically generated (through php) SVG image to an image so a user can rightclick and "save image .." </p>
  
  <p>at the moment the image is displayed as an svg for example
  like this:</p>
  
  <pre><code>&lt;embed id="image_wuerfel" classid="image/svg+xml" 
  src="/svg/models.php?s=c&amp;w=5&amp;h=5&amp;l=5&amp;m=1&amp;desc=1&amp;wh=250&amp;wl=250" 
  type="image/svg+xml" width="250" height="250"&gt;
  &lt;/embed&gt;
  </code></pre>
  
  <p>it sends a GET - Request to the models.php, where the SVG image is generated and will be returned.</p>
  
  <p>Is there something like a JS library or something, that converts this into an image file?</p>