rpic-render 0.0.2

Raster (PNG) and PDF rendering for rpic, by rasterizing/converting its SVG output (pure Rust: resvg/tiny-skia, svg2pdf).
Documentation

Raster (PNG) and PDF backends for rpic.

These consume the SVG produced by rpic-core and convert it with pure-Rust libraries (no system dependencies), keeping rpic-core itself dependency-free and WASM-friendly.

  • PNG: parse the SVG with usvg, rasterize with resvg/tiny-skia.
  • PDF: parse with svg2pdf's usvg, convert with svg2pdf.

Both load system fonts so attached text renders.