title: Convert JPG/PNG to SVG format using PHP
body: <p>How do I convert JPG/PNG to SVG using PHP?</p>
  
  <p>I know that it will not be vectorised, but I need it in a SVG-format.</p>
  
  <p>I dont want to use any other software than PHP.</p>
  
  <p>Something like this:</p>
  
  <pre><code>&lt;?php
  
  $image_to_cenvert = 'image.jpg';
  
  $content = file_get_contents($image_to_cenvert);
  
  $svg_file = fopen('image.svg','w+');
  
  fputs($svg_file,$content);
  fclose($svg_file);
  
  ?&gt;
  </code></pre>