Function libvips::ops::thumbnail

source ·
pub fn thumbnail(filename: &str, width: i32) -> Result<VipsImage>
Expand description

VipsThumbnailFile (thumbnail), generate thumbnail from file filename: &str -> Filename to read from width: i32 -> Size to this width min: 1, max: 10000000, default: 1 returns VipsImage - Output image