cairosvg-py3

SVG to PDF/PS/PNG converter based on Cairo (Python3 library)

Install

All systems
curl cmd.cat/cairosvg-py3.sh
Debian Debian
apt-get install python3-cairosvg
Ubuntu
apt-get install python3-cairosvg
image/svg+xml Kali Linux
apt-get install python3-cairosvg
Fedora
dnf install python3-cairosvg
Windows (WSL2)
sudo apt-get update sudo apt-get install python3-cairosvg
Raspbian
apt-get install python3-cairosvg

python3-cairosvg

SVG to PDF/PS/PNG converter based on Cairo (Python3 library)

CairoSVG is a SVG converter based on Cairo. It can export SVG files to PDF, PostScript and PNG files. The main part of CairoSVG is a SVG parser, trying to follow the SVG 1.1 recommendation from the W3C. Once parsed, the result is drawn to a Cairo surface that can be exported to various formats: PDF, PostScript, PNG and even SVG. This package contains the Python3 version of the library.