The recolor tool allows me to take any other color and repaint selected areas while keeping contrasts, shade and such.
Before:
After:
I would like to know if there is a way to replace a selected area with a completely different image, but keep all the properties just like the recolor tool does.
To re-use the upper example, it would be as if I selected all the yellow parts from the first image and pasted a perfectly red square on top of it.
The second should maintain details and not just be this: