Expand description
SVG string → PNG bytes rasterization using resvg.
Uses resvg (pure Rust) for SVG parsing and rasterization. Supports density/DPI scaling, white background, and configurable padding.
Functions§
- svg_
to_ png - Rasterize an SVG string to PNG bytes.