resvg is an SVG rendering library.
The core idea is to make a fast, small, portable SVG library designed for edge-cases. Right now, a
resvg CLI application is less than 3MiB and doesn't require any external dependencies.
Another major difference from other SVG rendering libraries is that
resvg does a lot of preprocessing before rendering. It converts an input SVG into a simplified one called Micro SVG and only then it begins rendering. So it's very easy to implement a new rendering backend. But we officially support only one. And you can also access Micro SVG as XML directly via the usvg tool.
resvg is aiming to support only the static SVG subset; e.g. no
cursor elements, no events and no animations.
Results of the resvg test suite:
You can find a complete table of supported features here. It also includes alternative libraries.
Comparing performance between different SVG rendering libraries is like comparing apples and oranges. Everyone has a very different set of supported features, implementation languages, build flags, etc. But since
resvg is written in Rust and uses tiny-skia for rendering - it's pretty fast.
resvg and most of its dependencies are pretty safe. The main exception is fonts memory mapping.
resvg project is licensed under the MPLv2.0.