From Gentoo Wiki
Jump to:navigation Jump to:search

darktable is a photography workflow application and RAW developer. It simplifies managing large numbers of RAW photos and their post-production in a non-destructive manner.


Building darktable with GCC requires Graphite support. Either sys-devel/gcc should be built with the graphite USE flag, or a different compiler should be used


root #emerge --ask media-gfx/darktable

USE flags

USE flags for media-gfx/darktable A virtual lighttable and darkroom for photographers

avif Add AV1 Image Format (AVIF) support
colord Support color management using x11-misc/colord
cups Add support for CUPS (Common Unix Printing System)
doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
gamepad Support using game controllers as input devices
geolocation Enable geotagging support
gphoto2 Add digital camera support
graphicsmagick Build and link against GraphicsMagick instead of ImageMagick (requires USE=imagemagick if optional)
heif Enable support for ISO/IEC 23008-12:2017 HEIF/HEIC image format
jpeg2k Support for JPEG 2000, a wavelet-based image compression format
jpegxl Add JPEG XL image support
keyring Enable support for freedesktop.org Secret Service API password store
kwallet Enable encrypted storage of passwords with kde-frameworks/kwallet
lto Enable link-time optimisations in the RawSpeed library
lua Enable Lua scripting support
midi Support using MIDI input devices such as Behringer X-Touch Mini, Arturia Beatstep or Korg nanoKONTROL2, as input devices
nls Add Native Language Support (using gettext - GNU locale utilities)
opencl Enable OpenCL support (computation on GPU)
openexr Support for the OpenEXR graphics file format
openmp Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp"
test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
tools Install tools for generating base curves and noise profiles
webp Add support for the WebP image format

For OpenCL compatibility consult the darktable-cltest tool.


Basic settings can be altered in ~/.config/darktable/darktablerc.


The media-gfx/darktable package provides a few additional tools (some of them are optional - controlled by the tools USE flag).


Using darktable-cli it is possible to use darktable for a non-interactive batch processing and export.


darktable-cmstest helps debugging color management issues (eg. exported photo colors don't match the darktable's). Also it indicates whether the colord USE flag was enabled.


Darktable with enabled opencl USE flag supports OpenCL-based GPU acceleration. The darktable-cltest utility helps debugging the darktable's setup and OpenCL driver interactions.


In order to improve approximation of camera's built-in JPEG engine with the default RAW processing settings you can use the dt-curve-tool.

See also

  • Color management — a computer technique for ensuring colors stay the same or at least as close as possible between devices.

External resources