Skip to main content

write_thumbnail

Function write_thumbnail 

Source
pub fn write_thumbnail(
    img: DynamicImage,
    max: u32,
    dest: &Path,
) -> Result<(), ThumbError>
Expand description

Resizes img to the limit max and writes the encoded thumbnail to dest.