Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.

Release History

Release History

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 Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
SVG42PDF-0.1.2.tar.gz (27.8 kB) Copy SHA256 Checksum SHA256 Source Apr 18, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting