Wikipedia:Graphics Lab/Resources/PDF conversion to SVG: Difference between revisions

Content deleted Content added
Conversion with PDF2SVG: copy-editing, some extra infos
Conversion with pdf2svg: adding more detail
Line 36:
Some versions of Inkscape do not have PDF support compiled in; also, text importing does not always produce satisfactory results in Inkscape. In that case, you might try performing the conversion with the pdf2svg command line tool. (It requires that [[Poppler (software)|Poppler]], [[cairo (graphics)|Cairo]], and [[X_Window_System|X]] are installed on your system.)
 
#Get pdf2svg from [[Github]] [https://github.com/dawbarton/pdf2svg here], additional info [http://www.cityinthesky.co.uk/opensource/pdf2svg/ here]. If you are using Windows, Linux or FreeBSD or OSX, pdf2svg is installable via the package installer.
## Alternatively,'''Ubuntu''': use <tt>sudo apt-get update -y</tt> followed by <tt>sudo apt-get install -y pdf2svg</tt>
## '''Windows''' binaries can be downloaded from [https://github.com/jalios/pdf2svg-windows here].
#Convert the first page of a PDF file with <tt>pdf2svg file.pdf file.svg</tt>. To extract all pages of a multiple-page PDF use <tt>pdf2svg file.pdf output-%02d.svg all</tt>. This generates output files ''output-00.svg'', ''output-01.svg'', etc. where the pattern "%02d" is replaced by the respective two-digit page numbers.
#If necessary use Inkscape to edit the resulting SVG.