Skip to main content

write_jpeg_file

Function write_jpeg_file 

Source
pub fn write_jpeg_file(
    path: impl AsRef<Path>,
    image: &JpegImage,
    quality: u8,
) -> Result<(), ErrorsJSL>
Expand description

Encodes image at quality (1 to 100) and writes it to path.