Function libvips::ops::draw_image_with_opts
source · pub fn draw_image_with_opts(
image: &VipsImage,
sub: &VipsImage,
x: i32,
y: i32,
draw_image_options: &DrawImageOptions
) -> Result<()>
Expand description
VipsDrawImage (draw_image), paint an image into another image
image: &VipsImage
-> Image to draw on
sub: &VipsImage
-> Sub-image to insert into main image
x: i32
-> Draw image here
min: -1000000000, max: 1000000000, default: 0
y: i32
-> Draw image here
min: -1000000000, max: 1000000000, default: 0
draw_image_options: &DrawImageOptions
-> optional arguments