Function libvips::ops::subsample

source ·
pub fn subsample(input: &VipsImage, xfac: i32, yfac: i32) -> Result<VipsImage>
Expand description

VipsSubsample (subsample), subsample an image input: &VipsImage -> Input image xfac: i32 -> Horizontal subsample factor min: 1, max: 10000000, default: 1 yfac: i32 -> Vertical subsample factor min: 1, max: 10000000, default: 1 returns VipsImage - Output image