Skip to main content

render_svg

Function render_svg 

Source
pub fn render_svg(
    data: &[u8],
    max: Option<u32>,
) -> Result<DynamicImage, ThumbError>
Expand description

Renders an SVG. With max, it is drawn straight at target_size; without, at its natural size.