[][src]Struct libvips::ops::ReduceOptions

pub struct ReduceOptions {
    pub kernel: Kernel,
    pub centre: bool,
}

Options for reduce 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

centre: bool

centre: bool -> Use centre sampling convention default: false

Trait Implementations

impl Clone for ReduceOptions[src]

impl Debug for ReduceOptions[src]

impl Default for ReduceOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.