[][src]Function bookbinder_common::convert_to_jpg

pub fn convert_to_jpg<P: AsRef<Path>>(
    filepath: P
) -> Result<Vec<u8>, Box<dyn Error>>

Convert an image at path filepath to a jpeg; generally common raster formats as well as svg and pdf are supported, but note that eps files are not