Darktable 1.2 RAW converter
Into the Dark

© Lead Image © Mischa, Fotolia.com
Darktable shines as the most powerful free RAW converter, with impressive new features in the current version 1.2.
RAW converters generate normal bitmap files from digital negatives. One of the most powerful representatives of this genus is Darktable [1]. The free program (see the "Installing Darktable" box), which is strongly oriented on the commercial Adobe Lightroom relies on a fixed workflow that guarantees reproducible results. It implements non-destructive image editing; although it loads the original files ("negatives"), it always creates separate output files ("positives" or "prints") with the settings you have chosen. Darktable writes these settings – as well as keywords, geospatial information, and other data for the image – to so-called "sidecar files" with a suffix of .xmp
.
Installing Darktable
Darktable is available from the repositories of all major distributions, so you can typically set it up comfortably using a package manager, although that will not necessarily give you the latest version. The project refers users to its website as well as to special repositories for Arch Linux, Fedora, Gentoo, openSUSE, RHEL, and Ubuntu and its offshoots, where the latest Darktable release can be downloaded [3].
The program interface takes some getting used to and consists of four different parts in the current version 1.2 [2]. Besides a light table for file management, there is a darkroom for photo editing, tethering for triggering of cameras, and a map for geotagging images.
Darktable basically divides the window into three vertical panes with two broad sidebars that frame the image window. In the bar on the left-hand side, you usually find management information, whereas the bar on the right displays information and actions for the selected shots viewed in the image window. Clicking the small outward-pointing triangles in the panels hides them temporarily and enlarges the image window.
Light Table
On the light table (Figure 1), you can import and sort images, assign key words, and export images to bitmap formats. The mouse wheel lets you adjust the size of the thumbnails infinitely; pressing Z quickly generates a full-screen preview of the image under the mouse. At the bottom of the screen, you can toggle the light table mode. Besides the classic image view, you can use a simple File manager located at the bottom of the screen.
Darktable is designed for processing multiple images at a time. For example, to rate a group of images with up to five stars, select some photos – use the usual Ctrl+click or Shift+click mouse combinations – and Darktable shows the ratings at the bottom of the screen. To evaluate the selected pictures, it is best to use the keyboard and press 1 for one star, 2 for two stars, and so on. Parallel to and independent of the star rating, you can use color tags that appear above the images (Figure 2). You can use function keys F1-F5 to assign and remove color tags.

The left sidebar has options to load images; Darktable will load single images or the contents of an entire directory. The new Darktable 1.2 also draws on Gphoto2 to load images directly from your camera if it is not mounted as a mass storage device. Another new feature is that in the right panel below tagging (Figure 3), the program adds the keywords it finds when loading the images to the internal database and makes them available as tags for other images.

The right sidebar groups many of the basic functions, and the current version adds to these functions. As before, you can automatically select a large number of images in the select section; then, you can decide what to do with them under selected image[s]. For example, remove removes images from the database but leaves them on the hard drive. In contrast, delete physically removes the images. The duplicate option creates a new entry in the database but does not occupy any additional storage space. A new feature, group (Ctrl+G), groups the selected photos in a preview marked with a G.
The developers updated the HDR function, which is also present in the selected image[s] panel, so it is now capable of creating an HDR image in DNG format from a normal shot, and it often works surprisingly well (Figure 4).

Stacked High
One of the main functions of the light table hides behind history stack. The history stack summarizes the proposed actions for the current image and describes all the steps necessary to create the "print." The XMP file for the image stores this information. If you assign a name to a history stack, it is known as a "style." The good thing about history stacks: You only need to generate a stack once, and then you can apply it to any number of images. Choosing append or overwrite determines how history information that already exists is handled.
Normally, you will want to keep a collection of stacks well-suited to your camera as styles and apply them to newly loaded images with paste or paste all (below history stack). The styles tab shows you all the stacks and lets you use them to edit your images. Incidentally, applying a style does not mean that you need to commit to something: You can still make arbitrary changes to the images.
Export
The export selected section in the right sidebar lets you export images. This is also where you can specify how Darktable should process your prints. Under target storage, you can select the export method – from storing on the local disk, to emailing, to sending to the cloud. The latex book template option generates three files: the image as a PNG file, a document class photobook.cls
, and the main.tex
file, which imports the image.
Whichever export method you choose, you always have the option of choosing a special output format in file format – now also including JPEG2000 – with format-dependent settings. Additionally, you can adjust the image size, define an offset, and do more under global options.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.
News
-
Linux Kernel Reducing Long-Term Support
LTS support for the Linux kernel is about to undergo some serious changes that will have a considerable impact on the future.
-
Fedora 39 Beta is Now Available for Testing
For fans and users of Fedora Linux, the first beta of release 39 is now available, which is a minor upgrade but does include GNOME 45.
-
Fedora Linux 40 to Drop X11 for KDE Plasma
When Fedora 40 arrives in 2024, there will be a few big changes coming, especially for the KDE Plasma option.
-
Real-Time Ubuntu Available in AWS Marketplace
Anyone looking for a Linux distribution for real-time processing could do a whole lot worse than Real-Time Ubuntu.
-
KSMBD Finally Reaches a Stable State
For those who've been looking forward to the first release of KSMBD, after two years it's no longer considered experimental.
-
Nitrux 3.0.0 Has Been Released
The latest version of Nitrux brings plenty of innovation and fresh apps to the table.
-
Linux From Scratch 12.0 Now Available
If you're looking to roll your own Linux distribution, the latest version of Linux From Scratch is now available with plenty of updates.
-
Linux Kernel 6.5 Has Been Released
The newest Linux kernel, version 6.5, now includes initial support for two very exciting features.
-
UbuntuDDE 23.04 Now Available
A new version of the UbuntuDDE remix has finally arrived with all the updates from the Deepin desktop and everything that comes with the Ubuntu 23.04 base.
-
Star Labs Reveals a New Surface-Like Linux Tablet
If you've ever wanted a tablet that rivals the MS Surface, you're in luck as Star Labs has created such a device.