How to convert PDF to SVG

Post questions on how to use or achieve an effect in Inkscape.
codedreamer
Posts: 2
Joined: Tue Jun 15, 2010 12:09 am

How to convert PDF to SVG

Postby codedreamer » Tue Jun 15, 2010 12:19 am

Hi,

First of all let me thank you guys for making such a great software for the community.

Secondly I want to ask the method by which, I can convert PDF to SVG through command line.
With this I mean to convert each individual page in PDF to a SVG file.

I tried following command

Code: Select all

inkscape.exe file.pdf --export-plain-svg=file.svg

It works fine but converts only first page of the pdf.

Is there any way by which I can specify page number to this command.
Or is there any way to directly convert all pages in individual SVG files, something like this command:

Code: Select all

inkscape.exe file.pdf --export-plain-svg=output_page%d.svg

codedreamer
Posts: 2
Joined: Tue Jun 15, 2010 12:09 am

Re: How to convert PDF to SVG

Postby codedreamer » Wed Jun 16, 2010 6:56 pm

Still no reply..
Is there any feature in inkscape like this or not?

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: How to convert PDF to SVG

Postby ~suv » Fri Jun 18, 2010 3:47 am

codedreamer wrote:Is there any way by which I can specify page number to this command.

Not with Inkscape, no. Use external command line tools to split the PDF file and call inkscape for each split page (e.g. using a loop in a shell script).


Return to “Help with using Inkscape”