1

I want to "cut" the image in half, move the original left half of the image to the right, and move the original right half of the image to the left. How can I do that using Gimp?

3 Answers 3

2

Easiest way: Layer > Transform > Offset.

offset menu

Select "%" in the offset field and set the X to 50.

offset window

You're gonna get a live preview.

enter image description here

Sorry, my Gimp speaks italian... but it should be clear as well.

1
  • perfect, this will save me a lot of time
    – Dave
    Jul 21, 2022 at 0:40
1

Assuming you image is a layer

  • Duplicate the layer
  • Make a rectangle selection over one half of the image. Instead of eyeballing the position you can edit the numbers directly in the tool options, and Gimp can do the math for you (you can use formulas in input fields) so if your image is 1200Wx800H you can get a selection with:

Tool options

  • Layer > Crop to selection
  • Select > Invert (selects the other half)
  • Switch to the other layer and Layer > Crop to selection

Result of crop

  • Use the move tool to move them with:
    • one hint: use View > Snap to canvas edges to help you position them
    • one warning: make sure the Move tool has Move the active layer checked (or use Shift-click to start Moving) and select the layer you want to move in the Layers list, otherwise you'll likely always move the topmost layer.

Result of move

2
  • 1
    There is a faster way you can use the offset filter with wrap around and do this in one step
    – joojaa
    Jul 13, 2022 at 9:42
  • @Jooja make that an answer (and pointing to By width/2) and I'll upvote it.
    – xenoid
    Jul 13, 2022 at 10:48
0

In case you need exact halves (and assuming an even number of pixels of course), you can do this with a guide

  1. Do Image > Guides > New Guide by percent, choose "Vertical" and set it to 50%

  2. To split the Image you can either do as Xenoid suggests, or do Image > Slice Using guides.

  3. Finally, in each of the sliced images, select all and copy, then back in your main image do Edit > Paste As > New Layer, move into position using snapping. And repeat for the other slice.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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