Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

overlay image with offset


I'm trying to get a function that do this. I attached and image to explain you. Have two images of same type and size, that are blue and green. I want to overlay the green image over the blue with an offset, in this case x and y are negative and only overlay the part of the image that is in common coordinates (red area). Are there an easy way to do this?

image description