Function libvips::ops::shrink_with_opts

source ·
pub fn shrink_with_opts(
    inp: &VipsImage,
    hshrink: f64,
    vshrink: f64,
    shrink_options: &ShrinkOptions
) -> Result<VipsImage>
Expand description

VipsShrink (shrink), shrink an image inp: &VipsImage -> Input image argument hshrink: f64 -> Horizontal shrink factor min: 1, max: 1000000, default: 1 vshrink: f64 -> Vertical shrink factor min: 1, max: 1000000, default: 1 shrink_options: &ShrinkOptions -> optional arguments returns VipsImage - Output image