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.
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.
The crop module controls are split into two sections as follows:
- 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 (
ymust 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.
- 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.
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.
- The percentage of the image that should be cropped from the left side.
- The percentage of the image that should be cropped from the right side.
- The percentage of the image that should be cropped from the top.
- The percentage of the image that should be cropped from the bottom.