How to convert a JPEG image into SVG format using ImageMagick?

jasonb picture jasonb · Jul 15, 2009 · Viewed 31.7k times · Source

How to convert a JPEG image into SVG format using ImageMagick?

Answer

iamashm picture iamashm · Sep 26, 2012

you'll need to use potrace and convert to a bitmap first.

$convert input.jpg output.ppm
$potrace -s output.ppm -o svgout.svg