[][src]Struct libvips::ops::TonelutOptions

pub struct TonelutOptions {
    pub in_max: i32,
    pub out_max: i32,
    pub lb: f64,
    pub lw: f64,
    pub ps: f64,
    pub pm: f64,
    pub ph: f64,
    pub s: f64,
    pub m: f64,
    pub h: f64,
}

Options for tonelut operation

Fields

in_max: i32

in_max: i32 -> Size of LUT to build min: 1, max: 65535, default: 32767

out_max: i32

out_max: i32 -> Maximum value in output LUT min: 1, max: 65535, default: 32767

lb: f64

lb: f64 -> Lowest value in output min: 0, max: 100, default: 0

lw: f64

lw: f64 -> Highest value in output min: 0, max: 100, default: 100

ps: f64

ps: f64 -> Position of shadow min: 0, max: 1, default: 0.2

pm: f64

pm: f64 -> Position of mid-tones min: 0, max: 1, default: 0.5

ph: f64

ph: f64 -> Position of highlights min: 0, max: 1, default: 0.8

s: f64

s: f64 -> Adjust shadows by this much min: -30, max: 30, default: 0

m: f64

m: f64 -> Adjust mid-tones by this much min: -30, max: 30, default: 0

h: f64

h: f64 -> Adjust highlights by this much min: -30, max: 30, default: 0

Trait Implementations

impl Clone for TonelutOptions[src]

impl Debug for TonelutOptions[src]

impl Default for TonelutOptions[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.