Function libvips::ops::smartcrop

source ·
pub fn smartcrop(input: &VipsImage, width: i32, height: i32) -> Result<VipsImage>
Expand description

VipsSmartcrop (smartcrop), extract an area from an image input: &VipsImage -> Input image width: i32 -> Width of extract area min: 1, max: 10000000, default: 1 height: i32 -> Height of extract area min: 1, max: 10000000, default: 1 returns VipsImage - Output image