I'd like to use this in a Python program which reads a file from disk and then converts it into an SVG.
I don't understand what functions potrace exposes which will let me then save an SVG. I know on the commandline I'd run:
potrace in.ppm -s -o out.svg
What's the equivalent here?
Thanks :-)
I'd like to use this in a Python program which reads a file from disk and then converts it into an SVG.
I don't understand what functions potrace exposes which will let me then save an SVG. I know on the commandline I'd run:
potrace in.ppm -s -o out.svgWhat's the equivalent here?
Thanks :-)