13

I have a screenshot where I want only a part of the pasted image, and I want to turn the white that's in it transparent.

First I need to crop the pasted image. I have selected the layer and a rectangle which I want. I can't seem to find the option that crops the current layer to the current selection. What's this called?

14

There are at least two ways to crop your image.

(1) First select the region of the image you want to have, by using the...

Rectangle Select Tool

  • Rectangle Select Tool (R) to make a rectangular selection
  • Ellipse Select Tool (E) to make an elliptical selection
  • Free Select Tool (F) to make a hand-drawn selection
  • Fuzzy Select Tool (U) to make a color-based contiguous selection

(All of these are next to each other at the top of the Toolbox.)

...then go to Image menu > select Crop to Selection option.


(2) Another way of doing it is by using the Crop Tool (in the Toolbox) to make a selection, and double-clicking anywhere inside the selection (or hit Enter) to crop.

Crop Tool

PS: And of course, I'm not Gimp expert, so do let me know if there are any other ways to do it.

  • Beautiful answer. – Steven Lu Apr 25 '12 at 3:32
13

To crop a layer:

  1. Double-click the "Crop Tool" in the Toolbox.

Crop Tool icon in Toolbox

  1. In the Crop Tool's "Tool Options" dialog, check the checkbox next to "Current Layer Only".

Crop Tool "Tool Options" dialog

Note: By selecting this box, all future use of the crop tool will only apply to the current layer. You must open this dialog again and uncheck the checkbox to crop the image again.

2

This method works in GIMP 2.8, it may work in other versions too:

  1. Make the layer you want to crop the current layer.
  2. Click the rectangle selection tool in the toolbox.
  3. Select the area of the current layer that you want to keep.
  4. In the "Layer" menu, select "Crop to Selection."

This crops the current layer, while leaving the crop tool in the toolbox alone, allowing you to easily use that to crop the entire image without having to remember to switch it back to "Crop Image."

  • Not very different from solution #1 in @its_me's answer... – xenoid Aug 18 '18 at 15:20
  • 1
    Exactly, except answer #1 in @its_me's answer crops the entire image, not just the current layer. – Jerome Grimmer Aug 18 '18 at 18:18

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