1

I have a svg image like this:

enter image description here

And I want to transform it in a path, so I can use pathtopoly() and do stuff with it, numerically. Namely, make it be drawn with Fourier transforms.

BuddhiLW
  • 608
  • 3
  • 9

1 Answers1

0

TL;DR I don't think there is a straightforward way to do this. You'd need a way of converting an SVG to a Cairo path, which I don't believe exists in Julia at the moment. There is CairoSVG in Python which renders SVG files to a Cairo surface. You might be able to use PyCall if you can find the appropriate documentation in CairoSVG for what you're looking to do (although this was not a feature in a previous (very old) thread on a similar topic).