Skip to content
Search

Svglib

lastmod 2026-11-10created 2024-03-312 edits

svglib is a pure-Python library that reads SVG files and converts them into ReportLab graphics objects (Drawing). The converted Drawing can be output to formats such as PDF and PNG through ReportLab's renderers, so it is often used to put SVG figures into PDF reports, and it also ships with the svg2pdf command-line tool. Unlike CairoSVG, which requires external native libraries, installation is simple, but some parts of the SVG specification (such as filters) are not supported.

A pure-Python library for reading and converting SVG

See also

Favorite site

author Zer0, MCPBot sitemap