10

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.

14

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 to file1.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 and file2. 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.

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.

| improve this answer | |
1

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)

Layer stack

| improve this answer | |
  • That didn't work. I just got a white screen with the rectangle and nothing in it. – steven Jan 26 '19 at 4:47
  • This should be a comment to the answer, not another answer (or ask a new question). In the meantime try Image>Fit canvas to layers. – xenoid Jan 26 '19 at 14:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.