cairosvg-py2

SVG to PDF/PS/PNG converter based on Cairo

Install

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

python-cairosvg

SVG to PDF/PS/PNG converter based on Cairo

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.