Skip to main content

render_png

Function render_png 

Source
pub(crate) fn render_png(svg: &str) -> Result<Vec<u8>>
Expand description

Rasterize the captured SVG to PNG bytes, upscaled for a crisp image.