[−][src]Struct libvips::ops::ThumbnailImageOptions
Options for thumbnail_image operation
Fields
height: i32
height: i32
-> Size to this height
min: 1, max: 10000000, default: 1
size: Size
size: Size
-> Only upsize, only downsize, or both
Both
-> VIPS_SIZE_BOTH = 0 [DEFAULT]
Up
-> VIPS_SIZE_UP = 1
Down
-> VIPS_SIZE_DOWN = 2
Force
-> VIPS_SIZE_FORCE = 3
Last
-> VIPS_SIZE_LAST = 4
no_rotate: bool
no_rotate: bool
-> Don't use orientation tags to rotate image upright
default: false
crop: Interesting
crop: Interesting
-> Reduce to fill target rectangle, then crop
None
-> VIPS_INTERESTING_NONE = 0 [DEFAULT]
Centre
-> VIPS_INTERESTING_CENTRE = 1
Entropy
-> VIPS_INTERESTING_ENTROPY = 2
Attention
-> VIPS_INTERESTING_ATTENTION = 3
Low
-> VIPS_INTERESTING_LOW = 4
High
-> VIPS_INTERESTING_HIGH = 5
Last
-> VIPS_INTERESTING_LAST = 6
linear: bool
linear: bool
-> Reduce in linear light
default: false
import_profile: String
import_profile: String
-> Fallback import profile
export_profile: String
export_profile: String
-> Fallback export profile
intent: Intent
intent: Intent
-> Rendering intent
Perceptual
-> VIPS_INTENT_PERCEPTUAL = 0
Relative
-> VIPS_INTENT_RELATIVE = 1 [DEFAULT]
Saturation
-> VIPS_INTENT_SATURATION = 2
Absolute
-> VIPS_INTENT_ABSOLUTE = 3
Last
-> VIPS_INTENT_LAST = 4
Trait Implementations
impl Clone for ThumbnailImageOptions
[src]
fn clone(&self) -> ThumbnailImageOptions
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ThumbnailImageOptions
[src]
impl Default for ThumbnailImageOptions
[src]
Auto Trait Implementations
impl RefUnwindSafe for ThumbnailImageOptions
impl Send for ThumbnailImageOptions
impl Sync for ThumbnailImageOptions
impl Unpin for ThumbnailImageOptions
impl UnwindSafe for ThumbnailImageOptions
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>,