[−][src]Function libvips::ops::mosaic_with_opts
pub fn mosaic_with_opts(
refp: &VipsImage,
sec: &VipsImage,
direction: Direction,
xref: i32,
yref: i32,
xsec: i32,
ysec: i32,
mosaic_options: &MosaicOptions
) -> Result<VipsImage>
VipsMosaic (mosaic), mosaic two images
refp: &VipsImage
-> Reference image
sec: &VipsImage
-> Secondary image
direction: Direction
-> Horizontal or vertcial mosaic
Horizontal
-> VIPS_DIRECTION_HORIZONTAL = 0 [DEFAULT]
Vertical
-> VIPS_DIRECTION_VERTICAL = 1
Last
-> VIPS_DIRECTION_LAST = 2
xref: i32
-> Position of reference tie-point
min: 0, max: 1000000000, default: 1
yref: i32
-> Position of reference tie-point
min: 0, max: 1000000000, default: 1
xsec: i32
-> Position of secondary tie-point
min: 0, max: 1000000000, default: 1
ysec: i32
-> Position of secondary tie-point
min: 0, max: 1000000000, default: 1
mosaic_options: &MosaicOptions
-> optional arguments
returns VipsImage
- Output image