Struct libvips::ops::EmbedOptions
source · Expand description
Options for embed operation
Fields§
§extend: Extendextend: Extend -> How to generate the extra pixels
Black -> VIPS_EXTEND_BLACK = 0 [DEFAULT]
Copy -> VIPS_EXTEND_COPY = 1
Repeat -> VIPS_EXTEND_REPEAT = 2
Mirror -> VIPS_EXTEND_MIRROR = 3
White -> VIPS_EXTEND_WHITE = 4
Background -> VIPS_EXTEND_BACKGROUND = 5
Last -> VIPS_EXTEND_LAST = 6
background: Vec<f64>background: Vec<f64> -> Color for background pixels
Trait Implementations§
source§impl Clone for EmbedOptions
impl Clone for EmbedOptions
source§fn clone(&self) -> EmbedOptions
fn clone(&self) -> EmbedOptions
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