[][src]Function libvips::ops::smartcrop

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

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