title: Resize and export SVG to PDF using ImageMagick
body: <p>I'd like to convert this <strong>SVG to PDF</strong> with the size scaled up to <strong>x10</strong> of it's current size without losing the quality of the picture. The PDF should also be in <strong>300 PPI</strong>. How can I achieve kind of output?</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="no" ?&gt;
  &lt;!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"&gt;
  &lt;svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="248.1" height="350.7" viewBox="0 0 248.1 350.7" xml:space="preserve"&gt;
  &lt;desc&gt;Created with Fabric.js 1.7.19&lt;/desc&gt;
  &lt;defs&gt;
  &lt;/defs&gt;
  &lt;g transform="translate(51.2 34.1) scale(0.1 0.1)"&gt;
  &lt;image xlink:href="./cat.jpg" x="-512" y="-341" style="stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;" width="1024" height="682" preserveAspectRatio="none"&gt;&lt;/image&gt;
  &lt;/g&gt;
  &lt;/svg&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Dv1Gp.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Dv1Gp.jpg" alt="enter image description here"></a></p>
  
  <p>This SVG came from fabricjs <code>toSVG()</code> code. I can resize it using fabricjs, but I'd like to know is it possible to do this and how using ImageMagick.</p>