Skip to main content

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


Download files

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

Source Distribution

SVG42PDF-0.1.2.tar.gz (27.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page