darktable is an open source photography workflow application and raw developer
darktable is an open source photography workflow application and raw developer
darktable is an open source photography workflow application and non-destructive raw developer - a virtual lighttable and darkroom for photographers. It manages your digital negatives in a database, lets you view them through a zoomable lighttable and enables you to develop raw images, enhance them and export them to local or remote storage.
darktable is not a free Adobe® Lightroom® replacement.
The darktable user manual is maintained in the dtdocs repository.
Lua API documentation is maintained in the luadocs repository.
The website (https://www.darktable.org/) is maintained in the dtorg repository.
Big-endian platforms are not supported.
32-bit platforms are not officially supported - they might or might not work.
Both darktable and the libraries it uses are developed on the Linux platform. Therefore, other platforms MAY have additional bugs that are not present in the Linux version. In addition, for example, on the Windows platform, printing support is not currently implemented. So we recommend, if you have a choice of platform, to use darktable on Linux.
(workable minimum / recommended minimum):
darktable can run on lightweight configurations (even on a Raspberry Pi), but expect modules like denoise, local contrast, contrast equalizer, retouch or liquify to be slow beyond usable.
A GPU is not mandatory but is strongly recommended for a smoother experience. Nvidia GPUs are recommended for safety because some AMD drivers behave unreliably with some modules (e.g. local contrast).
Darktable includes optional AI-powered features such as object masks, denoise and upscale.
These require building with -DUSE_AI=ON (off by default), or --enable-ai when building
with the build helper script build.sh. AI features are disabled by default in preferences
and must be enabled by the user. Models are downloaded from the AI tab in preferences
(default repository: darktable-org/darktable-ai).
CPU inference is bundled and works out of the box - no additional software is needed. On macOS (Apple Silicon), CoreML acceleration and on Windows, DirectML GPU acceleration are also bundled by default. Processing on CPU is slower than GPU but requires no special hardware.
GPU acceleration significantly speeds up AI inference but requires installing a GPU-enabled build of ONNX Runtime separately:
apt install migraphx migraphx-dev on Ubuntu)intel-opencl-icd or level-zero)GPU memory: 4 GB VRAM minimum. If GPU inference fails (out of memory, unsupported op, EP crash), darktable automatically retries on CPU and continues.
AMD first-run latency: on AMD GPUs the first inference per model is significantly slower because ROCm/MIGraphX compiles the model graph on the fly. The compiled graph is cached, so subsequent runs of the same model are fast.
To enable GPU acceleration, run one of the install scripts:
Linux:
curl -fsSL https://raw.githubusercontent.com/darktable-org/darktable/HEAD/tools/ai/install-ort-gpu.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/darktable-org/darktable/HEAD/tools/ai/install-ort-gpu.ps1 | iexThen point darktable at the installed library via the AI tab in preferences
(click detect). See tools/ai/README.md for flags,
prerequisites, manual install, and troubleshooting. Verify the active provider
with darktable -d ai.
If the latest release is still not available as a pre-built package for your distribution, you can build the software yourself following the instructions below.
5.6.1 (stable)
When using a pre-built package, ensure that it has been built with Lua, OpenCL, OpenMP and Colord support.
These are optional and will not prevent darktable from running if missing,
but their absence will degrade the user experience.
You can check for them by running darktable with the --version command line option.
The development snapshot reflects the current state of the master branch. It is intended for testing and is generally not safe. See the notes below for warnings and precautions about using the master branch.
When updating darktable from an older release, you only need to install the newest version. Existing files will be preserved.
However, newer releases occasionally need to change the structure of the library database (containing the whole list of images known to darktable, with their editing history). If this happens you will be prompted with a request to either upgrade the database or close the software.
Migration to a newer database structure/newer release means that your edits (both new and old) will no longer be compatible with older versions of darktable. Upgrades are definitive. Newer versions are always compatible with older edits, but newer edits are generally not compatible with older versions.
darktable automatically backs up the library database when a new version causes it to be upgraded
(in ~/.config/darktable/library.db-pre-3.0.0 for example), so
you can revert to the previous release by restoring this backup if needed
(simply rename it to library.db).
You will not be able to open the newer version of the database with a version of darktable that only supports the older version of the database. This is impossible because the older application does not know how the database schema has changed, so its code will not be able to work with it.
You will be able to import images with an XMP sidecar file that contains newer versions of processing modules or new modules, but those image editing parts will be discarded and you will lose them.
If you plan to move regularly between two versions (new/unstable and old/stable) see below for details of how to do it safely.
Extensions and plugins use the Lua scripting language and can be downloaded here. Lua support is optional in darktable, so make sure you have the lua interpreter and its development files (package
lua-dev or lua-devel, depending on distributions) installed on your system
while building or ensure the package you are using has been built with this library.
Extensions allow exporting for various media and websites, merge/stack/blend HDR, panoramas or focus bracketing, apply AI-based facial recognition, manage tags and GPS data, etc.
Compatible compilers/toolchains:
History stack copy-paste does not preserve module order
IOP mask display toggles shared without locking
High diff with Contrast & Texture v2
Emoji symbols (/⚡) do not disappear in lighttable overlay for unfocused images
Need a simple way to set GPS coordinates for a photo in map module
jxl - check option combinations & bit depth
Metadata tags not exported to JPEG
Individual snapshot deletion
Compiling without Lua support should not result in a persistent console window in Windows
RFC: What happens when we run out of/can't afford AI tokens