[][src]Function libvips::ops::smartcrop_with_opts

pub fn smartcrop_with_opts(
    input: &VipsImage,
    width: i32,
    height: i32,
    smartcrop_options: &SmartcropOptions
) -> 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 smartcrop_options: &SmartcropOptions -> optional arguments returns VipsImage - Output image