### 4.5. Crop An Image

Slika 3.20. Example Image for Cropping

Source image

Image after cropping

There are many reasons to crop an image; for example, fitting an image to fill a frame, removing a portion of the background to emphasize the subject, etc. There are two methods to activate the crop tool. Click the button in the Toolbox, or use Tools → Transform Tools → Crop in the image window. This changes the cursor and allow you to click and drag a rectangular shape. The button in the toolbox is the easiest way to get to any of the tools.

Slika 3.21. Select a Region to Crop

Click on one corner of the desired crop area and drag your mouse to create the crop rectangle. You don't have to be accurate as you can change the exact shape of the rectangle later.

Slika 3.22. Dialog for Cropping

Crop tool options with the Fixed Aspect ratio option
Crop rectangle with a fixed aspect ratio

After completing the click and drag motion, a rectangle with special regions is shown on the canvas. As the cursor is moved over the different areas of the selected crop area, the cursor changes. You can then drag the rectangle's corners or edges to change the dimensions of the selected area. As shown in the figure above, as the crop area is resized, the dimensions and ratio are shown in the status bar. Double-click inside the rectangle or press Enter to complete cropping. See Razdelek 4.4, “Obreži” for more information on cropping in GIMP.

If you would like to crop the image in a specific aspect ratio, such as a square, make sure the tool options are visible (Windows → Dockable Dialogs → Tool Options). In the Tool Options dockable, check the mark next to Fixed Aspect Ratio. Type the desired aspect ratio in the text field below, such as “1:1”.

You also have buttons to change the aspect from landscape to portrait. After you set the aspect ratio, drag one of the corners of the crop rectangle to update it. The rectangle changes to the chosen ratio, and when you drag it should maintain that ratio.

4.4. Compressing Images |  | 4.6. Find Info About Your Image

Report a bug in GIMP Report a documentation error