[][src]Function libvips::ops::merge_with_opts

pub fn merge_with_opts(
    refp: &VipsImage,
    sec: &VipsImage,
    direction: Direction,
    dx: i32,
    dy: i32,
    merge_options: &MergeOptions
) -> 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 merge_options: &MergeOptions -> optional arguments returns VipsImage - Output image