Introducing Darktable


Okay, doing a double post in a day is something unusual for a blog. But well, I’m afraid that if I postponed it today, I would forget it by tomorrow.

This time I want to introduce you to a tool that have been accompanying me to edit RAW files from my camera. It’s free, and always keep the updates regularly … it’s called Darktable (please check it at

Here’s the intro … Being a native Ubuntu Linux user for this 7 years (I worked at a software house, and Linux is my choice of operating system despite of it’s lack of bling bling from the Windows/OSX world … but yes, those three surely shows a evenly race nowadays), at the first time jumping into the photography world I feel that there is no sufficient tools of photography in Linux. For some period, I hold into Gimp for a while for doing some post-processing of my works (I used to shot JPEG straight-out-of-camera that time). The internet always said that Gimp is way too inferior than Photoshop, and while some part of me is agreed with that, I found that Gimp alone is enough to do some this and that, and to teach me the basic of image post processing instead of being dependant to a set of styles and plugins.

Then I learned and learned … that JPEG alone is not sufficient. At some condition, I was limited by the JPEG files (e.g: wrong white balance, fill light, playing with exposures, and the ultimate one … undestructive editing of the file). And again, all over the internet, people always talks about Adobe Lightroom, which doesn’t have any support on Linux.

Actually, there are an open-source library that actually build to process a RAW files, called libRaw ( But that’s the problem … it’s just a library sitting there waiting to be used on an applications. So I think that some application must have used it … And so I found Darktable.

Darktable - LightTable

The first interface of Darktable is called Lighttable. It just some kind of file browser, where we could import a image/folder as an filmroll. From here you could browse the images you’ve imported, give them a rating, and open it on Darkroom, the interface that let you process the RAW file.

Darktable - Darkroom

There are lot of tools and sliders you could play on Darkroom. To mention them, here’s the list I grab from the site:

Currently darktable serves 47 image operation modules in L*a*b* and profiled rgb. Some of them can be used as blending operators offering blend functionality that works on the incoming image information and the output of the current module.

Basic image operations:

  • crop and rotate: This module is used to crop, rotate and correct perspective of your image. It also includes many helpful guidelines that assist you using the tools (e.g. rule of thirds or golden ratio).
  • base curve: darktable comes with general enhanced basecurve presets for several models that is per automatically applied to raw images for better colors and contrast.
  • exposure controls: Tweak the image exposure either by using the sliders in the module or dragging the histogram around.
  • highlight reconstruction: This module tries to reconstruct color information that is usually clipped due to information not being complete in all channels.
  • demosaic
  • white balance: A module offering three ways to set the white balance. You can set tint, temperature in and temperature out or you define the value of each channel. The module offers predefined white balance settings as well.
  • invert: A module working on JPEGs inverting colors based on the color of film material.

Tone image operations:

  • fill light: This module allows the local modification of the exposure based on pixel lightness.
  • levels: This module offers the well-know levels adjustment tools to set black, grey and white points.
  • tone curve: This module is a classical tool in digital photography. You can change the lightness by dragging the line up or down. darktable let you separately control the L, a and b channel. Read in Ulrich’s blog post how to make use of this feature.
  • zone system: This module changes the lightness of your image. It is based on the Ansel Adams system. It allows to modify the lightness of a zone taking into account the effect on the adjacent zones. It divides the lightness in a user-defined number of zones.
  • tone mapping: This module allows to recreate some contrast for HDR images.

Color image operations:

  • overexposed: This module is a useful feature that displays pixels outside dynamic range.
  • velvia: The velvia module enhances the saturation in the image; it increases saturation on lower saturated pixels more than on high saturated pixels.
  • channel mixer: This module is a powerful tool to manage channels. As entry, it manipulates red, green and blue channels. As output, it uses red, green, blue or grey or hue, saturation, lightness.
  • color contrast
  • color correction: This module can be used to modify the global saturation or to give a tint. Read Johannes’ blog post.
  • color zones: This module allows to selectively modify the colors in your image. It is highly versatile and allows every transformation possible in the LCh colorspace.
  • color transfer: Transfer colors from one image to another.
  • vibrance: For a detailed description read Henrik’s blog post.
  • input/output/display color profile management

Correction modules:

  • sharpen: This is a standard UnSharp Mask tool for sharpen the details of an image.
  • equalizer: This versatile module can be used to achieve a variety of effects, such as bloom, denoising, and local contrast enhancement. It works in the wavelet domain, and parameters can be tuned for each frequency band separately.
  • denoise (non-local means): Denoising with separated color / brightness smoothing.
  • denoise (bilateral filter)
  • denoise (profiled)
  • lens correction: lens defect correction using lensfun.
  • spot removal: Spot removal allows you to correct a zone in your image by using another zone as model.
  • chromatic aberrations: This module automatically detects and corrects chromatic aberrations.
  • raw denoise: Raw denoise allows you to perfom denoising on pre-demosaic data. It is ported from dcraw.
  • hot pixels: This module allows you to visualize and correct stuck and hot pixels.

Effects/artistic image postprocessing:

  • watermark: The watermark module provides a way to render a vector-based overlay onto your image. Watermarks are standard SVG documents and can be designed using Inkscape. The SVG processor of darktable also substitutes strings within the SVG document which gives the opportunity to include image-dependent information in the watermark such as aperture, exposure time and other metadata.
  • framing: This module allows you to add an artistic frame around an image.
  • split toning: Original split toning method creates a two color linear toning effect where the shadows and highlights are represented by two different colors. darktable split toning module is more complex and offers more parameters to tweak the result.
  • vignetting: This module is an artistic feature which creates vignetting (modification of the brightness/saturation at the borders).
  • soften: This module is an artistic feature that creates the Orton effect also commonly known as softening the image. Michael Orton achieved such result on slide film by using 2 exposures of the same scene: one well exposed and one overexposed; then he used a technique to blend those into a final image where the overexposed image was blurred.
  • grain: This module is an artistic feature which simulates the grain of a film.
  • highpass: This module acts as highpass filter.
  • lowpass: This module acts as lowpass filter. One use case is described in Ulrich’s blog post.
  • monochrome: This module is a quick way to convert an image to black and white. You can simulate a color filter in order to modify your conversion. The filter can be changed in size and color center.
  • lowlight vision: Low light module allows to simulate human lowlight vision, thus providing the ability to make lowlight pictures look closer to reality. It can also be used to perform a day to night conversion.
  • shadows and highlights: Improve images by lightening shadows and darkening highlights. Read Ulrich’s blog post on this.
  • bloom: This module boost highlights and softly blooms them over the image.
  • colorize
  • graduated density: This module aims at simulating a neutral density filter, in order to correct exposure and color in a progressive manner.

And the nice part is Darktable is able to save your set of action into a Style, and use it for another image. You could download for free (yess free as a beer) some of community uploaded styles in their wiki.

Oh did I forget to mention? Darktable is also supports Mac OSX. Just grab it here.

Yes yes … I know … For a professional photographer who could afford themselves a nice Mac and a nice Lightroom, using an open-sourced application with no company supports and more like a hobbyist tool is a big NO … and I know that for some  people, using Lightroom style is a big MUST (some even use it illegally) … and I know that compared to Lightroom, Darktable still need a room (and time) to grow. But hey, despite of those facts, at least Darktable worked for me … I could produce a good postprocessed image using Darktable without breaking the bank, and use the money for something else 😀

So, why don’t you give it a try? After all, it’s easy to uninstall the application when you don’t like it anymore 😀


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s