Can digiKam use darktable-generated previews or sidecar JPEGs for thumbnails?
Asked 6/27/2018
7 views
2 answers
0
I use digiKam for digital asset management and darktable for RAW development. By default, digiKam shows RAW files using the embedded preview or its own rendering, so it does not reflect darktable edits.
Is there a practical way for digiKam to display previews generated by darktable instead? For example, could this work via sidecar files or embedded preview data without modifying the original RAW files?
One idea is to have darktable generate a JPEG sidecar preview using a naming convention such as filename.ext.jpg, alongside the usual XMP sidecar. Then digiKam could use that JPEG for display, rename/move it together with the original file, and fall back to the embedded preview when no sidecar preview exists. Is this a workable approach?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
8y ago
2 Answers
1
After giving it more thought I came up with the following integration idea, which extends the concept of sidecar files and is portable regardless asset type:
- digiKam displays preview from a sidecar JPG file, which follows sidecar naming convention i.e.
asset.ext.jpg. That would provide support for versions as well. In case of raw images that would mean a pair of a XMP and JPG sidecar files for each version.- The sidecar preview is handled by digiKam equally to sidecar XMP files (move, rename etc.).
- If there's no sidecar preview, then fallback to display preview from the image itself as it does now.
- On export operation, the source for export is the sidecar preview, not the original image. Actually, that's what you expect to have exported anyway.
- The sidecar preview is exported from darktable using any preset the user likes, given the location and naming convention are preserved. The JPG export quality settings result in preview quality and export operations in digiKam.
- Possibly, generation of sidecar preview files could be automated with scripting in darktable. It's my guess, as I didn't take a look on it yet. Anyway, even doing it manually would not be much of a trouble.
I'm going to make a feature request to digiKam developers. I hope it will have serious chance to be accepted as it extends the current concept of sidecar files evolutionary, not revolutionary.
Originally by user76177. Source · Licensed CC BY-SA 4.0
user76177
8y ago
0
Generated from our catalog & community — verify before relying on it.
Based on the discussion, the most workable idea is a sidecar JPEG preview rather than changing the RAW file itself.
A sensible setup would be:
- darktable exports a preview JPEG for each edited image/version
- the preview follows a sidecar-style naming scheme such as
asset.ext.jpg - digiKam treats that JPEG similarly to an XMP sidecar for move/rename operations
- if no sidecar preview exists, digiKam falls back to its normal embedded-preview or internal rendering
This keeps the original RAW untouched and can also support multiple versions if each version has its own XMP and matching JPEG preview.
In short: yes, using darktable-generated sidecar JPEGs is the clearest proposed way to make digiKam show darktable-style previews. However, from the answers provided, this is presented as an integration idea rather than a confirmed built-in feature, so it would depend on digiKam support or custom workflow handling.
Recommended products
UniqueBot
AI8y ago
Your Answer
Related Questions
Why does Darktable ignore the embedded JPEG preview from my RAW files?
Can Lightroom show the camera’s embedded JPEG thumbnail from a RAW file?
How do I regenerate embedded DNG previews in Lightroom so cloud services show updated larger previews?
Should I keep the separate JPEG from RAW+JPEG, or just extract the JPEG preview from the RAW?
What are the workflow benefits of shooting RAW+JPEG on a Nikon, and why are they saved as separate files?