Function libvips::ops::merge

source ·
pub fn merge(
    refp: &VipsImage,
    sec: &VipsImage,
    direction: Direction,
    dx: i32,
    dy: i32
) -> Result<VipsImage>
Expand description

VipsMerge (merge), merge two images refp: &VipsImage -> Reference image sec: &VipsImage -> Secondary image direction: Direction -> Horizontal or vertical 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