Struct libvips::ops::ResizeOptions
source · Expand description
Options for resize operation
Fields§
§kernel: Kernel
kernel: Kernel
-> Resampling kernel
Nearest
-> VIPS_KERNEL_NEAREST = 0
Linear
-> VIPS_KERNEL_LINEAR = 1
Cubic
-> VIPS_KERNEL_CUBIC = 2
Mitchell
-> VIPS_KERNEL_MITCHELL = 3
Lanczos2
-> VIPS_KERNEL_LANCZOS2 = 4
Lanczos3
-> VIPS_KERNEL_LANCZOS3 = 5 [DEFAULT]
Last
-> VIPS_KERNEL_LAST = 6
gap: f64
gap: f64
-> Reducing gap
min: 0, max: 1000000, default: 2
vscale: f64
vscale: f64
-> Vertical scale image by this factor
min: 0, max: 10000000, default: 0
Trait Implementations§
source§impl Clone for ResizeOptions
impl Clone for ResizeOptions
source§fn clone(&self) -> ResizeOptions
fn clone(&self) -> ResizeOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more