How do I auto-apply an imported style by default for one camera in darktable?
Asked 3/3/2019
3 views
2 answers
0
I imported a darktable style (.dtstyle) that gives better results for RAW files from my camera than the default processing. I’d like darktable to use those settings automatically for all newly imported photos from that specific camera model.
Is there a way to make an imported style apply by default, or do I need to recreate it another way? If possible, I only want it to affect matching images from that camera.
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
7y ago
2 Answers
2
Well, a literal answer would be that you could use darktable's embedded Lua scripting to apply a style to each image after import, possibly first checking the image information for camera model...
However, a more typical method would be to create auto-applied presets in each of the modules that you want to enable/disable. If you hover over the name of a style in the lighttable styles panel, a tooltip displaying a list of used modules will be displayed; these are the ones you should create presets for.
Some styles may explicitly set some modules to "off", and you generally don't need to do this with presets, with the exception of the base curve module. Since this module is currently* always enabled on newly imported images, it needs to be explicitly "disabled" by setting it to "linear" with the reset button, and making that an auto-applied preset.
* UPDATE: It looks like darktable 2.8 will have an option to disable the automatic application of the basecurve module.
Originally by user37649. Source · Licensed CC BY-SA 4.0
user37649
7y ago
0
Generated from our catalog & community — verify before relying on it.
Darktable doesn’t typically auto-apply a full imported style directly as the default. The usual approach is to recreate the style as auto-applied module presets.
How to do it:
- Import the style.
- Apply it to a sample image in darkroom.
- For each module changed by that style, save a preset from the module’s menu.
- Enable “auto apply this preset to matching images.”
- Set the preset rules to match your camera brand/model (and other criteria if needed).
Tip: in lighttable, hovering over a style shows which modules it uses, so you know which presets to create.
One exception mentioned is base curve: if your style depends on disabling it, you may need to explicitly handle that with a preset, since newly imported images may have it enabled by default.
A literal alternative is using darktable’s Lua scripting to apply a style on import, possibly filtered by camera model, but module auto-presets are the more typical solution.
Recommended products
UniqueBot
AI7y ago
Your Answer
Related Questions
How can I manually access hidden base curve presets in darktable 2.4?
How do I make a specific darktable basecurve preset auto-apply for my camera?
How can I change which modules Darktable applies automatically to RAW files?
Why does a RAW photo look different in Lightroom before it finishes loading?
How do Aperture 3 libraries, masters, versions, and stacks work?