[−][src]Function libvips::ops::merge
pub fn merge(
refp: &VipsImage,
sec: &VipsImage,
direction: Direction,
dx: i32,
dy: i32
) -> Result<VipsImage>
VipsMerge (merge), merge two images
refp: &VipsImage
-> Reference image
sec: &VipsImage
-> Secondary image
direction: Direction
-> Horizontal or vertcial merge
Horizontal
-> VIPS_DIRECTION_HORIZONTAL = 0 [DEFAULT]
Vertical
-> VIPS_DIRECTION_VERTICAL = 1
Last
-> VIPS_DIRECTION_LAST = 2
dx: i32
-> Horizontal displacement from sec to ref
min: -100000000, max: 1000000000, default: 1
dy: i32
-> Vertical displacement from sec to ref
min: -100000000, max: 1000000000, default: 1
returns VipsImage
- Output image