crop

Crop an image using on-screen guides.

This module appears later in the pipeline than the crop & rotate module, meaning that the full image can remain available for source spots in the retouch module. For best results, you are advised to use the crop & rotate module to perform rotation and keystone correction (if required), and then perform final creative cropping with this module.

Whenever this module is in focus, the full uncropped image will be shown, overlaid with crop handles and optional guiding lines.

screen controls

Resize the crop by dragging the border and corner handles.

Move the crop rectangle by clicking and dragging inside the crop area. Constrain movement to the horizontal/vertical axis by holding Ctrl/Shift, respectively while dragging. Commit changes by either giving focus to another module or by double-clicking on the image.

πŸ”—module controls

The crop module controls are split into two sections as follows:

πŸ”—crop settings

aspect
Set the aspect ratio of the crop, constraining the width:height ratio of the crop rectangle to the chosen aspect. Many common numerical ratios are pre-defined. A few special aspect ratios deserve explanation:
  • freehand: Crop without any restrictions
  • original image: Retain the aspect ratio of the original image
  • square: Constrains the aspect ratio to be 1:1
  • golden cut: The golden ratio (1.62:1)

You can also enter any other ratio after opening the combobox by typing it in the form of β€œx:y” or as a decimal (e.g. “0.5” to apply a ratio of 2:1).

If you want to add an aspect ratio to the pre-defined drop-down list you can do this by including a line of the form “plugins/darkroom/clipping/extra_aspect_ratios/foo=x:y” in darktable’s configuration file $HOME/.config/darktable/darktablerc. Here β€œfoo” defines the name of the new aspect ratio and β€œx” and β€œy” the corresponding numerical values (x and y must be integers).

Finally, the button beside the aspect combobox allows you to switch between portrait and landscape orientation if you have selected a rectangular aspect ratio.


Note: When resizing an image in freehand mode you may retain the currently-set aspect ratio by holding Shift while dragging on any of the resize controls.


guides
Overlay standard compositional guide lines on the image while cropping. When selecting “golden mean”, some additional options become available in an “extra” drop-down. When selecting “grid”, you can choose the number of lines and subdivisions.
guides flip
If the chosen guidelines are not symmetrical relative to the image frame, you can flip them on the horizontal, vertical or both axes.

πŸ”—margins

These sliders allow you to directly set how much of the image to crop from each side. They are automatically updated if you move or resize the crop area on the image using the mouse.

As this section is rarely used, it is collapsed by default.

left
The percentage of the image that should be cropped from the left side.
right
The percentage of the image that should be cropped from the right side.
top
The percentage of the image that should be cropped from the top.
bottom
The percentage of the image that should be cropped from the bottom.

Translations