[−][src]Function libvips::ops::reduce_with_opts
pub fn reduce_with_opts(
inp: &VipsImage,
hshrink: f64,
vshrink: f64,
reduce_options: &ReduceOptions
) -> Result<VipsImage>
VipsReduce (reduce), reduce 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
reduce_options: &ReduceOptions
-> optional arguments
returns VipsImage
- Output image