Skip to main content

thumbnail

Function thumbnail 

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

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