On Thu, Jun 12, 2008 at 7:26 AM, Matei Stroila <mns3m@...12...> wrote:
Are there any command line options for the inkscape executable to convert PDF to SVG?
Thanks, Matei
I'm not sure how to do this. You could use something like ImageMagick to convert the pdf to a png first, and then use inkscape to open the file and export a plain svg:
--------------------------------------------- convert -density 200 fileA.pdf fileB.png
inkscape -f fileB.png -l fileC.svg
-------------------------------------------- This indeed does create an svg file, but it is an svg file containing a bitmap. The vector representation of the original pdf is lost when you first convert it to png.
I'm not sure there is a way of opening a pdf file in Inkscape. And ImageMagick can't convert from PDF to SVG (at least not that I'm aware of). Perhaps there is some other tool that can do the job.
RQ