[−][src]Struct libvips::ops::TonelutOptions
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]
fn clone(&self) -> TonelutOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TonelutOptions
[src]
impl Default for TonelutOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for TonelutOptions
impl Send for TonelutOptions
impl Sync for TonelutOptions
impl Unpin for TonelutOptions
impl UnwindSafe for TonelutOptions
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,