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

Content deleted Content added
Conversion with PDF2SVG: adding updated info
Conversion with PDF2SVG: copy-editing, some extra infos
Line 32:
#Upload the SVG to Wikimedia Commons and tag it with {{Tld|Extracted with Inkscape|v}}
 
====Conversion with PDF2SVGpdf2svg====
 
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 PDF2SVGpdf2svg command line tool. (It requires that [[Poppler (software)|Poppler]], [[cairo (graphics)|Cairo]], and [[X_Window_System|X]] are installed on your system.)
 
#Get PDF2SVGpdf2svg 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, PDF2SVGpdf2svg is installable via the package installer. Alternatively, 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>,. toTo extract all pages of a multiple -page pdfPDF 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.