4.5. Crop An Image
| 4. Common Tasks |

### 4.5. Crop An Image

Slika 3.27. 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.28. 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.29. Dialog for Cropping

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. 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 and make sure the drop-down box next to it is set to Aspect Ratio. You can now type the desired aspect ratio on the text box below, such as “1:1”. You also have controls 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 an error in Bugzilla