Culling grouped RAW + JPEG based on JPEG as group leader?

I went through the search results for culling but could not quite find a fully matching existing answer to my question, so I am opening a new topic.

I am shooting in RAW and JPEG and import both in Darktable (4.2.1 at the moment).
Both file types will be grouped during import, with RAW as the group leader.
Then I start culling: Initially all images are unrated. I set a filter to unrated only and then apply 1 star or reject the image, so I am working on a shrinking list of to-be-decided images. I understand that that rating applies to the entire group, so when I set the filter to rejected afterwards, I can delete all the RAW+JPEG pairs I decided to dump. So far so good.
The thing is, that I prefer the full screen view (using the w shortcut) for culling. And since the RAW is the group leader, the larger preview/thumnail needs to be computed first, which results in a delay. Even worse, the resulting preview is dark and dull, just as of you open the RAW in darkroom and have the basic default processing applied.
If the JPEG was the group leader, it would be selected w/o any further delay or processing and the quality is for culling good enough. There is an option to switch the group leader to JPEG, but unfortunately this can only be applied to an individual pair, not to the whole selection (or even better, as a preference).
Question: how can I use culling on entire groups, based on the full screen JPEG preview?
BTW: I also noticed, the embedded JPEG from the RAW would be good enough, too. It is briefly visible, before it is replaced with the dull and dark basic processing version. Unfortunately I could not find a preference setting to keep it and suppress thumbnail re-creation.

You could try Bill’s script.

You may just have to enable it by running it in the lua scripts manager… found in LT view…

image

2 Likes

https://docs.darktable.org/usermanual/4.2/en/preferences-settings/lighttable/#thumbnails

use raw file instead of embedded JPEG from size

Try setting this to never.

note that depending of your camera and screen size, this may not work (some camera have a ā€œsmallā€ embedded jpeg… The reason why the embedded jpeg is used in culling but not in full preview, is certainly a matter of size…

note too that changing the group leader will means that double-click on the thumb will open the jpeg in darkroom, not the raw file… which may be not what you want…

I used this lua script, and I think it’s great, the image selection process is faster when jpg is leading. And noticed an issue, not with the script, but in the stars rating with shortcuts when images are grouped (this is in the master branch, don’t know if this happens with version 4.2.1), I reported about it on GitHub anyway.

Hey there,
I have the same problem as twil69 had. After searching I found this topic and was pleased zu get a solution.
The script works fine with my Fuji’s *.jpg an *.raf files. In both directions.

But since about 2 months I have an new camera which delivers *.jpg and *.dng files.
The DNGs work fine with dt. No problems until now.
Running the script above does also what to it has to do when changing the group header from DNG to JPG. But reverse there’s no change. The header remains to JPG, no matter I have selceted as group header, also at ā€˜non-raw’. I don’t know, what I’m doing wrong. Is there anybody who solved this problem?
The files are right out of camera and just imported. I can see the files, can develop them and all other things. So I think the files are allright. And DNG is not a new file format. Is it possible that DNGs are not identified as raw format?

I hope there is somone who can help me. This will improve my worklow hardly.
Thanks
Thomas

Sorry, I have to withdraw my question. Just in the last minutes i’ve update to dt 4.6.0. Now it works fine, also with DNGs.
I don’t know why. Perhaps I have restarted dt. Sorry.

1 Like

Sorry, it happens again :frowning:
Yesterday I import DNGs and JPGs. With the lua-script I changed the group headers to the JPGs. It worked quite nice. Afterwards I marked the phots I want to edit with stars.

Today I want change the group headers to the DNGs and it doesn’t work. I#ve tried it several times in all possible directions (RAW, JPG, non of them). Nothing happens. I restarted dt, but also the same.
The same as descriped to posts above.

Can somone help me? What I do wrong?

Thanks
Thomas

I have the same problem as @twil69 had last year, but the solution by @g-man does not work (anymore?)

I always had ā€œuse raw fileā€¦ā€ set to ā€œneverā€, but I only see the embedded jpg while the raw gets automatically generated when using full preview layout (shortcut f).

My current ā€œsolutionā€ is to shoot raw+jpg and change the lead to jpg (as described above).

But it’s quite weird to always have twice as many images as necessary.

Is there a way to use the embedded jpg in full preview layout (until the image was edited in darkroom)

(still using 4.4.2 running debian… )