Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an easy way to cut a slice from an image using Gimp?

Tags:

gimp

Wondering if there is an easy way to remove a rectangular slice across the entire width of an image using Gimp, and have the resulting hole closed up automatically. I hope that makes sense. If I select a slice across an image and do "cut", it leaves a blank "hole" there. I want the new top and bottom of the image to join and fill that hole, reducing the image height by the amount sliced out.

Any easy way to do this?

like image 418
chacmool Avatar asked Feb 01 '11 03:02

chacmool


People also ask

How do I cut out part of an image in GIMP?

Press "Ctrl-X" to cut out the parts of the image you don't want and display the selected part on top of the transparent background.

Does GIMP have a slice tool?

Go to Image > Slice Using Guides - Click it and GIMP will divide the image for you into separate images and switch your view to the last piece. The original image will still be intact.

Which tool is used in GIMP to cut a part of a picture?

The crop tool can be used to cut a part of a picture in GIMP. To cut a part of a picture, one can select the Crop Tool, then mark the part which needs to be cut by dragging the mouse and then press Enter. The clone tool is used to copy a region from a picture. It uses the current brush to do so.


2 Answers

Here is a method that is quick and often does what you want:

  1. Cut out the middle, leaving a transparent "hole".
  2. Click anywhere to remove the selection (so the hole is not selected).
  3. Click Image > Zealous crop .

Zealous crop demo

This is going to remove the middle part. However, if you also have transparency in other parts of the image (like around the edges) it's going to remove that transparency too.

like image 140
Rasmus Bååth Avatar answered Oct 13 '22 01:10

Rasmus Bååth


I believe you're asking to do something like cut out the middle of a page, leaving the header and footer and have the blank space removed with the cut action, effectively joining the header and footer together.

To my knowledge, I don't believe so. Even if you cut, or delete, that space is still part of the image even without content.

But, you would be able to highlight the top or bottom (or left or right) of the remaining space and drag it to align with the other side. It's not ideal for repetitive tasks, but should get you through if you only have to do it a few times.

like image 40
Vinnie Avatar answered Oct 12 '22 23:10

Vinnie