[−][src]Function bookbinder_common::convert_svg_file_to_png
pub fn convert_svg_file_to_png(
svg: &Path,
dpi: Option<usize>
) -> Result<Vec<u8>, SvgError>
Convert an svg file to a png with a resolution of dpi
or the default
pub fn convert_svg_file_to_png(
svg: &Path,
dpi: Option<usize>
) -> Result<Vec<u8>, SvgError>
Convert an svg file to a png with a resolution of dpi
or the default