Convert Image to Svg

ImageMagick with Potrace

convert input.png output.pnm
potrace output.pnm -s -o output.svg

If starting with black background: Invert colors first

# Invert/Inverse/Negate the colors first
convert input.png -negate output.pnm
potrace output.pnm -s -o output.svg

Backlinks