In this artice, I describe a technique that can be used to
seamlessly copy-and-paste one image into another. I also provide source code(https://github.com/Erkaman/poisson_blend), that
demonstrates the concepts in the article.
yes, the mask is also pretty important. otherwise, you get lots of stuff from the background of your source image in your blended image, which often looks pretty bad.
since the technique is so simple, it's probably not hard at all to include into GIMP. Wouldn't surprise me if someone had already implemented a plugin for it.
The blurriness around the edges gives it away --- and blurring the edges is incidentally the same technique that Photoshoppers use when they can't quite get the borders right.