Function libvips::ops::draw_image

source ·
pub fn draw_image(image: &VipsImage, sub: &VipsImage, x: i32, y: i32) -> 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