Struct libvips::ops::Composite2Options
source · pub struct Composite2Options {
pub x: i32,
pub y: i32,
pub compositing_space: Interpretation,
pub premultiplied: bool,
}
Expand description
Options for composite_2 operation
Fields§
§x: i32
x: i32
-> x position of overlay
min: -10000000, max: 10000000, default: 0
y: i32
y: i32
-> y position of overlay
min: -10000000, max: 10000000, default: 0
compositing_space: Interpretation
compositing_space: Interpretation
-> Composite images in this colour space
Error
-> VIPS_INTERPRETATION_ERROR = -1
Multiband
-> VIPS_INTERPRETATION_MULTIBAND = 0
BW
-> VIPS_INTERPRETATION_B_W = 1
Histogram
-> VIPS_INTERPRETATION_HISTOGRAM = 10
Xyz
-> VIPS_INTERPRETATION_XYZ = 12
Lab
-> VIPS_INTERPRETATION_LAB = 13
Cmyk
-> VIPS_INTERPRETATION_CMYK = 15
Labq
-> VIPS_INTERPRETATION_LABQ = 16
Rgb
-> VIPS_INTERPRETATION_RGB = 17
Cmc
-> VIPS_INTERPRETATION_CMC = 18
Lch
-> VIPS_INTERPRETATION_LCH = 19
Lab
-> VIPS_INTERPRETATION_LABS = 21
Srgb
-> VIPS_INTERPRETATION_sRGB = 22 [DEFAULT]
Yxy
-> VIPS_INTERPRETATION_YXY = 23
Fourier
-> VIPS_INTERPRETATION_FOURIER = 24
Rgb16
-> VIPS_INTERPRETATION_RGB16 = 25
Grey16
-> VIPS_INTERPRETATION_GREY16 = 26
Matrix
-> VIPS_INTERPRETATION_MATRIX = 27
Scrgb
-> VIPS_INTERPRETATION_scRGB = 28
Hsv
-> VIPS_INTERPRETATION_HSV = 29
Last
-> VIPS_INTERPRETATION_LAST = 30
premultiplied: bool
premultiplied: bool
-> Images have premultiplied alpha
default: false
Trait Implementations§
source§impl Clone for Composite2Options
impl Clone for Composite2Options
source§fn clone(&self) -> Composite2Options
fn clone(&self) -> Composite2Options
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more