Code: Select all
convert -size 100x60 xc:skyblue -fill white -stroke black -draw "path 'M 30,40 A 30,20 20 0,0 70,20 A 30,20 20 1,0 30,40 Z '" arc.png
However, if you change the extension of the output
Code: Select all
convert -size 100x60 xc:skyblue -fill white -stroke black -draw "path 'M 30,40 A 30,20 20 0,0 70,20 A 30,20 20 1,0 30,40 Z '" arc.svg
convert arc.svg arc.png
What I am really trying to do is draw vector graphics on top of an existing bitmap image:
Code: Select all
convert myimage.png -fill white -stroke black -draw "line 0,0 100,30" output.svg
Thanks,
Dave