Function libvips::ops::embed_with_opts[][src]

pub fn embed_with_opts(
    inp: &VipsImage,
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    embed_options: &EmbedOptions
) -> Result<VipsImage>
Expand description

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 embed_options: &EmbedOptions -> optional arguments returns VipsImage - Output image