Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

darktable

> 编程语言
Open source

darktable is an open source photography workflow application and raw developer

12.9K stars0 likes3 views
WebsiteGitHub

About

darktable is an open source photography workflow application and raw developer

darktable

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.

https://www.darktable.org/

Table of Contents

  1. Documentation
  2. Website
  3. Requirements
    • Supported platforms
    • Hardware
    • AI features (optional)
  4. Installing
    • Latest release
    • Development snapshot
  5. Updating from older versions
  6. Obtaining extensions
  7. Building
    • Dependencies
    • Get the source
    • Get submodules
    • Compile
    • Further reading
  8. Using
    • Test/unstable version
    • Regular/stable version
  9. Contributing
  10. FAQ
  • Why is my camera not detected when plugged-in ?
  • Why is my lens not detected/corrected in darkroom ?
  • Why do the thumbnails in the lighttable view look different to the preview in the darkroom view ?
  1. Wiki
  2. Community

Documentation

The darktable user manual is maintained in the dtdocs repository.

Lua API documentation is maintained in the luadocs repository.

Website

The website (https://www.darktable.org/) is maintained in the dtorg repository.

Requirements

Supported platforms

  • Linux
  • FreeBSD
  • NetBSD
  • OpenBSD
  • Windows 10 and later
  • Apple Silicon Macs running macOS 14 and later

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.

Hardware

(workable minimum / recommended minimum):

  • RAM: 4 GB / 8 GB
  • CPU: Intel Pentium 4 (Core 2 for Windows) / Intel Core i5 4×2.4 GHz
  • GPU: none / Nvidia with 1024 CUDA cores, 4 GB, OpenCL 1.2 compatible
  • free disk space: 250 MB / 1 GB

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).

AI features (optional)

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:

  • NVIDIA (CUDA): Linux and Windows.
    • Supported NVIDIA GPU with up-to-date drivers (Maxwell or newer)
    • CUDA Toolkit 12 or CUDA Toolkit 13
    • cuDNN 9.x
  • AMD (ROCm): Linux only.
    • Supported AMD GPU with up-to-date drivers (RDNA2/CDNA or newer), see compatibility matrix
    • ROCm 6+
    • MIGraphX (may require separate install, e.g. apt install migraphx migraphx-dev on Ubuntu)
  • Intel (OpenVINO): Linux and Windows.
    • Supported Intel GPU with up-to-date drivers (integrated Gen9+, discrete Arc, or NPU Meteor Lake+)
    • Intel OpenCL or/and Level Zero runtime (included with drivers on Windows; on Linux may need intel-opencl-icd or level-zero)
    • On Windows, requires OpenVINO Toolkit installation
  • Windows (DirectML): bundled, works with any DirectX 12 compatible GPU (NVIDIA, AMD, Intel). No extra install needed.
    • Windows 10 1903+ (DirectML is a system component)
  • macOS (CoreML): bundled, uses Apple Neural Engine automatically. No extra install needed.
    • macOS 11+ (Big Sur)
    • Apple Silicon (M1+)

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:

bash
curl -fsSL https://raw.githubusercontent.com/darktable-org/darktable/HEAD/tools/ai/install-ort-gpu.sh | bash

Windows (PowerShell):

powershell
irm https://raw.githubusercontent.com/darktable-org/darktable/HEAD/tools/ai/install-ort-gpu.ps1 | iex

Then 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.

Installing

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.

Latest release

5.6.1 (stable)

  • Download package for Windows
  • Download disk image for macOS on Apple Silicon
  • Download AppImage for Linux
  • Download AppImage for Linux on ARM64
  • Install native packages or add a third-party repository for Linux distros
  • Install Flatpak package for Linux
  • More information about installing darktable on any system

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.

Development snapshot

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.

  • Install native packages directly or add third party repository for some Linux distros (one snapshot per day)
  • Binary packages are provided for Linux (AppImage), macOS and Windows on a nightly basis

Updating from older versions

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.

Obtaining extensions

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.

Building

Dependencies

Compatible compilers/toolchains:

  • Clang: 15 and later
  • GCC: 12 and later
  • MinGW-w64: 10 and later
  • XCode: 15.2 an

Issues· 687 open

View all issuesOpen on GitHub
  • #22426

    History stack copy-paste does not preserve module order

    Updated Sep 28, 2026
  • #22064

    IOP mask display toggles shared without locking

    scope: UIscope: threadingUpdated Sep 28, 2026
  • #22389

    High diff with Contrast & Texture v2

    priority: highscope: image processingbug: pendingUpdated Sep 28, 2026
  • #22397

    Emoji symbols (/⚡) do not disappear in lighttable overlay for unfocused images

    scope: UIscope: windows supportUpdated Sep 28, 2026
  • #20441

    Need a simple way to set GPS coordinates for a photo in map module

    Updated Sep 28, 2026
  • #17487

    jxl - check option combinations & bit depth

    priority: highreproduce: confirmedbug: pendingno-issue-activitydepends: external libUpdated Sep 28, 2026
  • #22362

    Metadata tags not exported to JPEG

    Updated Sep 27, 2026
  • #22299

    Individual snapshot deletion

    feature: enhancementscope: UIluaUpdated Sep 27, 2026
  • #22417

    Compiling without Lua support should not result in a persistent console window in Windows

    Updated Sep 27, 2026
  • #22294

    RFC: What happens when we run out of/can't afford AI tokens

    Updated Sep 26, 2026

> Tags

C

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言