[][src]Function libvips::ops::embed

pub fn embed(
    inp: &VipsImage,
    x: i32,
    y: i32,
    width: i32,
    height: i32
) -> Result<VipsImage>

VipsEmbed (embed), embed an image in a larger image inp: &VipsImage -> Input image x: i32 -> Left edge of input in output min: -1000000000, max: 1000000000, default: 0 y: i32 -> Top edge of input in output min: -1000000000, max: 1000000000, default: 0 width: i32 -> Image width in pixels min: 1, max: 1000000000, default: 1 height: i32 -> Image height in pixels min: 1, max: 1000000000, default: 1 returns VipsImage - Output image