PDF2SVG

From Svg wiki

Contents

Free Software

Short C program using Cairo and Poppler

http://www.cityinthesky.co.uk/pdf2svg.html

"PDF2SVG has been tested with [poppler] v0.5.4 ... [and Cairo] v1.2.6 and v1.4.10 but it might work with others."

Debian 4.0 (Etch) has libpoppler-dev v0.4.5 and libcairo2-dev v1.2.4 and the program will not compile.

Via postscript

You might be able to convert some PDF to SVG files using the following process:

#!/bin/bash

# you need gs-common, pstoedit and skencil to
# get this script working
export BASENAME="`basename $1 .pdf`";

# convert PDF to postscript
pdf2ps ${BASENAME}.pdf

# Outline fonts
eps2eps -dNOCACHE ${BASENAME}.ps ${BASENAME}2.ps

# Fix bounding box
ps2epsi  ${BASENAME}2.ps  ${BASENAME}3.ps

# Convert to Sketch
pstoedit -f sk  ${BASENAME}3.ps  ${BASENAME}.sk

# Convert to SVG
skconvert  ${BASENAME}.sk  ${BASENAME}.svg

Commercial Software

An efficient PDF to SVG convertor, with both GUI and command-line interfaces.

See more details at http://www.pdftron.com/pdf2svg/index.html


Reviews

  • No reviews available; please post your experiences
  • The free software script listed does not work very well or often as of Sept 2007
Retrieved from "http://wiki.svg.org/PDF2SVG"