I've recently drawn 2 images and for the final product I need to combine half of each images, one on the left and one on the right, into a single image.
My answer is very much like the previous answer. I still provide it because the above did not directly lead to success.
So you have two files: file1.jpeg
and file2.jpeg
. They can be different formats than jpeg, and they do not need both to have the same format. So file2.png
would be fine too.
As a matter of background you can think of the Gimp image as a number of layers over a canvas. The idea is to extend the canvas, add the second image as a layer. Next move the layers so that they do not overlap.
- Open
file1.jpeg
using Gimp. - Save
file1.jpeg
in the native Gimp format. Say we save it tofile1.xcf
. - Expand the canvas. Go to the menu Image, next Canvas size. You can now expand the canvas in the direction you like. Make sure there is enough space for both
file1
andfile2
. If afterwards it turns out the canvas was not big enough you can always make it bigger so that both images fit.- Next choose Windows , then Dockable Dialogs, then Layers. This shows the layers dialog. If all is well you have one layer. It is
file1
. - Now choose File, Open as Layers and open
file2.jpeg
.
- Next choose Windows , then Dockable Dialogs, then Layers. This shows the layers dialog. If all is well you have one layer. It is
At this point you see two layers in the Layers dialog. The image itself has become quite messy with the two images overlapping. One is file1
and the other file2
. You now want to move these layers so that they no longer overlap.
- Choose Tools, Transform tools , and next Move. You can now move the layers that is selected in the layers dialog.
Move the layers until they no longer overlap. If necessary adjust the canvas size.
If they are the same size (otherwise, Image>Scale image first)
- File>Open the first image
- File>Open as layers the second image
- Layer>Transparency>Add alpha channel (if it's greyed the alpha channel is already there)
- Make a rectangle selection around the part you don't want to keep in the top layer
- Edit>Clear
In effect you create your image by stacking a full first image (green) and a second image (blue) where some of it has been made transparent (grey pattern)