Once upon a time I used Corel Draw to edit vector graphics. Now I'm looking at using Sketch. I previously converted all my old CDR files to PDF but Sketch doesn't seem to like to open PDFs containing vector graphics. Is there a free command-line program I can use to convert PDF to SVG?
Turns out Inkscape has a command line mode. I added this to .bash_profile:
and now this command converts from PDF to SVG:
inkscape Logo.pdf --export-plain-svg=Logo.svg
Unfortunately, the current version of Sketch has very rudimentary SVG import capabilities and can't correctly read any of the files I've made even though they display fine in Opera and OmniWeb. The company says future versions will do better.
ImageMagick has a command line tool called
convert which does all sorts of things in addition to converting file formats. There are lots of options, but the simplest way would be to do
convert file.pdf file.svg
That might not give the best quality, so you may need some flags such as
-density - check the man pages. ImageMagick can likely be installed through fink/macports/homebrew.
You must log in to answer this question.
protected by Community♦ Sep 16 at 9:49
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?