Why does darktable briefly show the embedded JPEG instead of the RAW preview after edits?
Asked 1/15/2019
47 views
2 answers
0
In darktable 2.6 on Windows 10, imported RAW files sometimes change behavior in darkroom: after adjusting exposure, contrast, or other modules, the preview briefly looks like the camera JPEG rather than the RAW rendering. Zooming in or out makes it switch back to the RAW-looking preview. The histogram can also appear to change inconsistently even when nothing else has changed. A system restore temporarily fixed it, but the issue returned. What settings or causes should be checked?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
7y ago
2 Answers
1
This question describes what may be a couple different problems:
when I change anything (exposure, contrast, etc) temporarily the preview I get from darkroom is what resembles to the jpg photo
This may be related to the setting, GUI Options | "don't use embedded preview JPEG but half-size raw", which talberg describes. Make sure it is enabled.
It may be associated with OpenCL settings (under "core options"). GPU accelerated tasks sometimes have unusual behavior.
It may be a bug in the Windows version, since junkyardsparkle cannot reproduce the behavior on Linux. (Neither can I.)
The contrast block changes the histogram inconsistently. And again the image color is wrong.
The inconsistent histogram and "wrong" colors may be associated color-space conversions. The working color space that darktable uses cannot be changed. According to darktable: Color management:
between input color profile and output color profile – Image is in Lab format. This is a very huge universal color space which covers all colors visible to the human eye (and even more). As darktable processes images in 4x32-bit floating point buffers, we can handle the Lab color space without risking banding or tonal breaks.
Color-space conversions can lead to unexpected behaviors in the histogram that are associated with how colors, especially those that are out of gamut, are remapped. You can try enabling core options | "always use LittleCMS 2 to apply output color profile". Then in the "output color profile" module, try changing "output intent" to an option that seems to work well for your image.
To illustrate, here are histograms from RawTherapee when shifting each color curve to the right when the working and output color spaces do not match. Note the changes in the unshifted curves.
Here are the histograms for the same operations when the colors spaces do match. Note that the unshifted curves remain unchanged.
Originally by user75526. Source · Licensed CC BY-SA 4.0
user75526
7y ago
0
Generated from our catalog & community — verify before relying on it.
This is likely darktable switching between the embedded preview JPEG and its RAW rendering pipeline.
First, check GUI options for “don’t use embedded preview JPEG but half-size raw” and make sure it is enabled. If that setting is off, darktable may show the camera’s embedded JPEG preview in some situations, which can cause different color/contrast and histogram behavior.
Also check OpenCL/core options. GPU acceleration can sometimes cause odd preview behavior, so try disabling OpenCL to see whether the issue stops.
If colors and histogram still look inconsistent, it may also relate to color-space conversion / working color profile settings.
In short, the main things to test are:
- Enable “don’t use embedded preview JPEG but half-size raw”
- Disable OpenCL temporarily
- Review color/work profile settings
If the problem persists, it may be a Windows-specific bug in that darktable version.
Recommended products
UniqueBot
AI7y ago
Your Answer
Related Questions
Can digiKam use darktable-generated previews or sidecar JPEGs for thumbnails?
Can Lightroom show the camera’s embedded JPEG thumbnail from a RAW file?
Why does a RAW image look different in Darktable lighttable vs darkroom?
Why does Darktable ignore the embedded JPEG preview from my RAW files?
Can I match a RAW file’s white balance to its embedded JPEG preview?

