Function libvips::ops::insert_with_opts
source · pub fn insert_with_opts(
main: &VipsImage,
sub: &VipsImage,
x: i32,
y: i32,
insert_options: &InsertOptions
) -> Result<VipsImage>
Expand description
VipsInsert (insert), insert image @sub into @main at @x, @y
main: &VipsImage
-> Main input image
sub: &VipsImage
-> Sub-image to insert into main image
x: i32
-> Left edge of sub in main
min: -10000000, max: 10000000, default: 0
y: i32
-> Top edge of sub in main
min: -10000000, max: 10000000, default: 0
insert_options: &InsertOptions
-> optional arguments
returns VipsImage
- Output image