ipaste allows to "paste" an image into another, i.e. to replace the pixels in an image by pixels in another image.
ipaste man page