07-08-2019, 08:22 AM
Yes but not in that order...
(**) Possibly several, around several body parts, see previous note
- You need to have a clean cutout of the person (in other words, that person on a transparent background). This is typically hard to do if the photo wasn't taken with this in mind (white background or "green screen"). Some tools may help (Foreground selector, for instance), but this is rarely perfect (loose hairs...).
- Open the group's picture
- Duplicate the groups layer
- Add the person's picture as a third layer (File>Open as layers or drag it from the image opened in Gimp)
- Scale it to match. Some color adjustment could be necessary. This is also when you realize that the lighting directions don't match and that you have to find another picture(*)
- Move the person's layer between the two group layers,
- With the eraser (or better, a Layer mask), cut a hole(**) in the first layer through which the person can be seen. This is the other hard part, the people in front of the person have to be cutout rather cleanly and the automated tools cannot be used.
(**) Possibly several, around several body parts, see previous note