Function image_utils::resize
[−]
[src]
pub fn resize(
src: &Path,
width: u32,
height: u32,
dest: &Path
) -> Result<(), Box<Error>>
Resizes image preserving its aspect ratio
src
- source image file
width
- max width
height
- max height
dest
- destination image file