Nanosvg
lastmod 2026-11-10created 2024-03-312 edits
NanoSVG is a simple SVG parser in C distributed as a single header file. nanosvg.h reads an SVG file and converts it into a list of shapes containing paths, colors, and gradient information, and the auxiliary header nanosvgrast.h rasterizes them into a bitmap. Having no dependencies, it is used to load icons and vector graphics in games and embedded programs, and pynanosvg provides Python bindings.