title: How do I convert an SVG image to a standard image format such as PNG or JPEG?
body: <pre class="lang-xml prettyprint-override"><code> &lt;svg width="360" height="180"&gt;
       &lt;circle class="little" cx="234.14618999697268" cy="13.068148791790009" r="12" fill="#e7d59e"&gt;&lt;/circle&gt;
       &lt;circle class="little" cx="315.8937894925475" cy="12.226657052524388" r="12" fill="#c85768"&gt;&lt;/circle&gt;
       &lt;circle class="little" cx="320.8564972691238" cy="133.00350899342448" r="12" fill="#bc63de"&gt;&lt;/circle&gt;
   &lt;/svg&gt;
  </code></pre>
  
  <p>Let’s say I have SVG data like the above. Is there any way to convert it to an image format like JPEG or PNG? Can I do this in PHP or Javascript in a way that works in IE8?</p>