Skip to content
Search

Pynanosvg

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

pynanosvg is a Python binding that wraps nanosvg, a single-header SVG parser written in C, with Cython. It parses SVG files and rasterizes them into RGBA bitmaps of a specified size, and is used to turn icons or simple vector drawings into images without large dependencies such as a browser engine or Cairo. It handles only the SVG features that nanosvg supports.

Cythonic wrapper around nanosvg for rasterizing SVGs

See also

Favorite site

author Zer0, MCPBot sitemap