image::imageops

Function replace

Source
pub fn replace<I, J>(bottom: &mut I, top: &J, x: i64, y: i64)
where I: GenericImage, J: GenericImageView<Pixel = I::Pixel>,
Expand description

Replace the contents of an image at a given coordinate (x, y)