Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Program for SVG to PDF conversion.

Project description

Converting SVG to PDF might be a complicated task. Various tools exist this purpose, but many of them create different outputs, they don’t work both on Linux and OS X, or they depend on some heavy libraries.

This program aims at the conversion using any available tool.

Installation

From PyPI:

pip install --upgrade svg42pdf

From Github:

pip install --upgrade git+https://github.com/karel-brinda/svg42pdf

Examples

Use first working method:

svg42pdf -m any input.svg output.pdf

Use Cairo:

svg42pdf -m cairo input.svg output.pdf

Use ReportLab:

svg42pdf -m reportlab input.svg output.pdf

Use Inkscape:

svg42pdf -m inkscape input.svg output.pdf

Use ImageMagick:

svg42pdf -m imagemagick input.svg output.pdf

Use Wkhtmltopdf (using the Qt WebKit):

svg42pdf -m wkhtmltopdf input.svg output.pdf

FAQ

  • Why is there 42 in the name?

    There are too many svg2pdf tools.

Project details


Release history Release notifications

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.1.dev2

History Node

0.1.1.dev1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
SVG42PDF-0.1.2.tar.gz (27.8 kB) Copy SHA256 hash SHA256 Source None Apr 18, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page