title: Convert and resize SVG to PNG
body: <p>I am trying to convert SVG to PNG (or any raster format) and resize at the same time.</p>
  
  <p>I thought I would use ImageMagick for this task but it seems to be converting to raster before resizing.</p>
  
  <p>This results in a poor quality image.</p>
  
  <ul>
  <li><p>Is there a way to get ImageMagick to resize the SVG before converting to raster?</p></li>
  <li><p>Or is there some other tool I can use to programatically convert an SVG to a raster after resizing it?</p></li>
  <li><p>Alternatively, is there some other tool I could use for this?</p></li>
  </ul>
  
  <p>Currently I'm using ImageMagick via a commandline:</p>
  
  <pre><code>convert file.svg -resize 100x100 file.png
  </code></pre>
  
  <p>The source image "size" is unknown and the destination size is not known until run-time.</p>