darktable 4.0.1 released

We’re proud to announce the new feature release of darktable, 4.0.1!

The github release is here: https://github.com/darktable-org/darktable/releases/tag/release-4.0.1.

As always, please don’t use the autogenerated tarball provided by github, but only our tar.xz file. The checksums are:

$ sha256sum darktable-4.0.1.tar.xz
5fef81e0c0079977a3cdc3627eed777280c2346d023c5d176c1f4a62cbe51d68 darktable-4.0.1.tar.xz
$ sha256sum darktable-
f4914a6c49a2e3a815c75b199d8da31a3160e179e8272e8fb1075ce48b188e65 darktable-
$ sha256sum darktable-
961af68e76fb274b0451bf287a9eb243f917ef68b933d48963534bfe328a955f darktable-
$ sha256sum darktable-4.0.1.exe
96b584edbc7d65f26b76dc7c57b9dce6fe33792b839f0ac4c712cd6834051dad  darktable-4.0.1-win64.exe

When updating from the stable 3.8.x series, please bear in mind that your edits will be preserved during this process, but the new library and configuration will no longer be usable with 3.8.x.

You are strongly advised to take a backup first.

Important note: to make sure that darktable can keep on supporting the raw file format for your camera, please read this post on how/what raw samples you can contribute to ensure that we have the full raw sample set for your camera under CC0 license!

Since darktable 4.0.0:

  • Almost 180 commits to darktable+rawspeed
  • 103 pull requests handled
  • 19 issues closed

The Big Ones


Other Changes

  • Variables $(MAKER) and $(MODEL) can now be used when importing files.

  • Display infinity for very large focus distance as supported by the exif standard.

Bug Fixes

  • Fix overexposed indicators after cropping.

  • Fix DNG creation in the HDR merge module (ColorMatrix could be zero).

  • Fix culling layout, which could be broken after a second use when changing the number of images (e.g. when rejecting an image).

  • Fix GUI reset of the export module when using TIFF format.

  • Fix copy of iop-order in merge mode when multiple instances are used in the destination images.

  • Fix color filtering issue on Windows.

  • Fix possible black screen when using auto-white balance on Windows.

  • Properly retain the access and modified timestamps when using copy and import.

  • Fix color picker reset in color zones module.

  • Fix help link for module layout management.

  • Fix crash after a failed camera tethering attempt.

  • Add support for fast pipe mode on the diffuse module. Fast pipe mode is used to bypass long-running modules while interactively changing another module’s parameters where that module does not require accurate image display. For example, it is used to improve responsiveness of the on-screen display in the crop and rotate/perspective modules.

  • Fix some color picker button action types.

  • Fix crash in Latex export.

  • Fix website gallery export.

  • Fix a file-handle leak.

  • Fix a memory corruption in sharpen module that could lead to a crash.

  • Fix vectorscope histogram display to avoid cropping the primary and secondary nodes (top and bottom).

  • Add HEIF media type association for the desktop.

  • Fix possible crash when using the color checker without a properly selected patch.

  • Fix sorting of LUT 3D files and left-align the entries for better readability.

  • Disable upscaling when export size is set to original image dimensions (0) as this does not have meaning and could crash darktable.

  • Fix possible crash when applying a time-offset to images.

  • Fix crop-size information displayed on screen (rounding issue).

  • Fix blending detail mask memory requirement.

  • Fix crash when zooming with fingers on an empty lighttable.

  • Ensure that external format size limits are enforced during export.

  • Some CSS fixes on color, contrast, positioning of combo-boxes, check-box size, scrollbars and progress bars.

  • Fix JPEG APP1 header (skip 6-byte header).

  • Fix some missing translations in notebook tabs.

  • Use a color-managed background for color balance rgb module sliders.

  • Light up midi modifier keys when shift/ctlr/alt are pressed.

  • Some speed improvements (tuned compiler options, some optimized routines)



Changed Dependencies


RawSpeed changes

Camera support, compared to 3.8

Base Support


White Balance Presets

Noise Profiles

  • NIKON D780
  • NIKON D4s
  • CANON EOS M50 Mark II
  • CANON EOS 850D

Custom Color Matrices

Suspended Support

No samples on raw.pixls.us

  • Canon EOS M2
  • Creo/Leaf Aptus 22(LF3779)/Hasselblad H1
  • Fujifilm FinePix HS50EXR
  • Fujifilm FinePix S6000fd
  • Fujifilm FinePix S9600fd
  • Fujifilm IS-1
  • GoPro FUSION
  • Kodak EasyShare Z980
  • Leaf Aptus-II 5(LI300059)/Mamiya 645 AFD
  • Leaf Credo 60
  • Leaf Credo 80
  • Leica D-LUX 6
  • Minolta DiMAGE 5
  • Nikon 1 J4
  • Nikon 1 S1
  • Nikon Coolpix P7700
  • Nikon D1H
  • Nikon D2H
  • Nikon D3S
  • Olympus E-10
  • Olympus SP320
  • Olympus SP570UZ
  • Panasonic DMC-FX150
  • Panasonic DMC-G2
  • Pentax K200D
  • Pentax K2000
  • Pentax Q10
  • Phase One IQ250
  • Samsung GX10
  • Samsung GX20
  • Samsung NX5
  • Samsung NX10
  • Samsung NX11
  • Samsung NX20
  • Samsung NX2000
  • Samsung EK-GN120
  • Samsung SM-G920F
  • Samsung SM-G935F
  • Sinar Hy6/ Sinarback eXact
  • Sony DSLR-A380
  • Sony DSLR-A560
  • ST Micro STV680


  • Czech
  • Brazilian Portuguese
  • Chinese - China
  • Chinese - Taiwan
  • Dutch
  • Esperanto
  • European Spanish
  • Finnish
  • French
  • German
  • Hebrew
  • Hungarian
  • Italian
  • Japanese
  • Russian
  • Slovenian
  • Turkish
  • Ukrainian

Share this on: Twitter | Facebook

This is a companion discussion topic for the original entry at https://www.darktable.org/2022/09/darktable-4.0.1-released/



Very nice - yet again big kudos/thanks to all developers and supporting folks.

I am building the new version right now :slight_smile:

1 Like

I’ve tried to merge DNGs from my Android phone (a OnePlus 6T) before and they would always end up with a black output. This sounds like it would fix this issue, but it still results in black DNGs. How do I properly open a bug report with problematic DNGs attached?

You may have to share the DNG files via a link, and include that in the bug report.

1 Like

Thanks! I will open an issue tonight when I have more time to do a proper write-up.

And thanks to the amazing team behind DarkTable, this is already an amazing piece of software and it keeps getting better :blush:

1 Like

There were no commits since June 4…

That’s why the section is empty…

Which is unfortunate, given all the good stuff there, ready to be merged…

Yeah well, this is what happens when a project is volunteer powered.

If you have the will and time to contribute to rawspeed maintenance, please do get in touch with Roman.