darktable and Nik Silver Efex

I am on macos Sequioa and DT 5.4.1.

Currently my processing of raw files from DT is as follows and I am wondering if there is something I am missing to make this a bit easier.

  1. Export raw file as tiff
  2. Go to Finder and open tiff with NIK Silver Efex
  3. Make changes and save
  4. Add tiff to DT
  5. Lighttable does not display the changes made after the import
  6. Open the image in Darktable
  7. Edit something no matter what
  8. Go back to Lighttable to see the final result

Any help to improve this process is greatly appreciated. Thanks.

You could use the contrib/ext_editor script and start NIK Silver Efex from there. ext_editors should handle the export to tiff and importing the result which should result in an updated thumbnail in lighttable.

1 Like

darktable doesn’t have a live view of the filesystem. If your source file is abc.raw and your intermediate file is abc.tif, you have to re-import the folder to make darktable aware of the new file. it should auto group abc.raw and abc.tif together after the second import. You may have to make the group leader the tif file, so it shows on top when viewing the lightable grouped.

1 Like

Thanks for coming back for me. Unfortunately the ext. editors are not converting from raw to tiff before export, I get “file type not allowed” error.

Thanks for the response but darktable doesn’t recognize the changes - see my points 4 and 5 above. I need to make a small edit then lighttable “sees” the change made in Silver Efex.

Remove the tif and import again. You could also try reset cached thumbnails, but it’s a blunt tool (deletes and regenerates all thumbnails).

Thanks for the feedback.

I did a system restart - to be on the save side and tried this with several pictures and it is always the same. Lighttable doesn’t show the external changes. Only after I made a “dummy” change in darktable and go back to lighttable is the change from Silver Efex visible in lighttable.

As this is a recurring problem, the regeneration of all thumbnails is the solution.

I have a very simple solution,
two settings one for export:

one for edit in external editor:

1 Like

What system are you on?

That’s what I am doing but it doesn’t work for me.

I’m running Macos Tahoe 26.5.1 on iMac 24 M1
Which part is not working? Export or edit?

Of course that works. But as @kofa said, that’s a rather blunt tool.

When returning to darktable, after editing in Nik, darktable doesn’t “see” any change (as it doesn’t read the file until you open it in the darkroom), so has no reason to update the thumbnails. Removing the TIFF and re-importing it forces darktable to create a new thumbnail.

Or perhaps create a dummy style (with just an export module at +0EV) and apply that to the changed TIFFs (in append mode to be safe)? That can be done from the light table view.

2 Likes

There is a lua-script, official/regenerate_thumbnails that regenerates thumbnails for the selected image(s).

1 Like

But this is exactly what is not happening. As I wrote in my original post

  1. Export raw file as tiff
  2. Go to Finder and open tiff with NIK Silver Efex
  3. Make changes and save
  4. Add tiff to DT
  5. Lighttable does not display the changes made after the import

As darktable is not adding the exported tiff to its catalog the import in 4) adds the NIK-tiff to the database (which is a completely new tiff) and darktable does not create a new thumbnail.

I am not questioning the regeneration of all thumbnails. What I am saying is that it is not a sensible solution to do this after every import of a tiff file.

How are you exporting the raw file to tiff and where are you exporting it to?

How are you adding the tiff to darktable?

Exporting via

And importing via import - add to library

Of course. I assume that “does not create a new thumbnail” refers to the thumbnail for the raw file?

Why should darktable assume the TIFF you import after editing in NIK has any relation with the raw file? And in any case, the TIFF would always get its own thumbnail, and the raw thumbnail (with the dt edits) would not be updated.

I totally agree on all you are saying in regard to the raw file

  • there are no changes to the thumbnail as there is no need to
  • the imported tiff (after Silver Efex changes) is not related to the raw file

I see now that I wasn’t absolutely clear in my choice of words. Appologies. In my mind the tiff has a “thumbnail” after the export from darktable. I know this isn’t correctly described, but bear with me. Now I do the changes in SE and then import the file (which is completely independent of the raw file) to darktable. The thumbnail which is now shown is of the tiff before the SE changes.

I hope this is clearer.

But my general point I try to understand is. Do I need all the steps I mentioned originally to get an image processed externally and back into darktable.

Could the imported TIFF have an embedded JPG thumbnail (like a raw file does), which still holds the pre-SilverEfex changes (TIFF is a complex format, I’m just guessing)? Darktable has a setting that will use the embedded thumbnail for raw files until they are opened in the darkroom. Could you flip that like this?

You are correct that the tiff has an embedded jpg thumbnail. When I open the tiff file via Finder in Preview I see the two jpg’s (before SE and after).

Finder (with preview enabled on the right) shows the jpg-after, same as Adobe Bridge and XnView only darktable shows the jpg-before in lighttable.

I know that there are ways to manually get lighttable to “refresh” the thumbnail but it would save a step from my eight listed initially if I don’t have to do that.

I played around with the preset change but this didn’t help. I assume this is only working with raw files and not with tiff’s.

Are they in different folders?

The screen shot from your initial export shows a darktable_exported folder.

Real question is when you export from Nik Silver Efex, where are you exporting? The folder where your original is or the darktable_exported folder.

I don’t think grouping works cross-folder. Even if you re-import recursively, the original original and the Nik Silver Efex output being in different folders wouldn’t be related.