wpferguson
wpferguson
Needs https://github.com/darktable-org/darktable/pull/14032 and https://github.com/darktable-org/darktable/pull/13965 to supply data for the variables.
For those wishing to test/play with substitution I've attached a test script and the image I used to test with is located here, https://drive.google.com/file/d/1xb7AcG_5NSxs4W679K3w61iPqigB5Fts/view?usp=share_link. It's a play raw from pixls....
The string substitution is feature complete. Some of the variables aren't implemented since the main purpose of this is for use in generating path and filenames in the exporter. However,...
Depends on https://github.com/darktable-org/darktable/pull/14259
The overlay text is not accessible from Lua at the current time. Lua does support almost all of the substitution variables supported by darktable, but it is a separate functionality...
I figured out a way to do this... You could calculate the exposure value for the image. You could create a tag `metadata|exposure value|`, where `` would be the computed...
I'm a little concerned about the safety of doing this. Applying a sidecar to an undeveloped image in lighttable is one thing, but going back and forth between different sidecars...
I believe that the apply sidecar function's intent is to provide an investigative tool: * Play Raw: I see an edit I like and I wonder how they did it....
Coded up image:apply_sidecar(). I don't think I'd try it in darkroom, but it works fine in lighttable. Here's the updated src/lua/image.c [image.c.txt](https://github.com/user-attachments/files/18650930/image.c.txt)
Depends on https://github.com/darktable-org/darktable/pull/17300