Struct libvips::ops::SmartcropOptions
source · pub struct SmartcropOptions {
pub interesting: Interesting,
}
Expand description
Options for smartcrop operation
Fields§
§interesting: Interesting
interesting: Interesting
-> How to measure interestingness
None
-> VIPS_INTERESTING_NONE = 0
Centre
-> VIPS_INTERESTING_CENTRE = 1
Entropy
-> VIPS_INTERESTING_ENTROPY = 2
Attention
-> VIPS_INTERESTING_ATTENTION = 3 [DEFAULT]
Low
-> VIPS_INTERESTING_LOW = 4
High
-> VIPS_INTERESTING_HIGH = 5
All
-> VIPS_INTERESTING_ALL = 6
Last
-> VIPS_INTERESTING_LAST = 7
Trait Implementations§
source§impl Clone for SmartcropOptions
impl Clone for SmartcropOptions
source§fn clone(&self) -> SmartcropOptions
fn clone(&self) -> SmartcropOptions
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