How to auto apply camera styles?

I am on DT 5.0.0.
With the update came a lot of camera-specific styles. In the release notes it says “Also added a Lua script to auto-apply the appropriate style on import […]”
How do I use this Lua script to auto-apply these styles on import?

The mouse over text under the Lua options doesn’t helpt me.

Thanks!

1 Like

Ok, I guess I am one step closer to solving my issue. I was originally using the ‘wrong’ Lua script.

No I switched to the ‘right’ script

Which doesn’t throw any errors - but also doesn’t seem to be doing anything.
And there currently seems to be no description of that latest Lua script ‘apply camera style’.

Go to lighttable and remove one image and re-import it or import a new image. I think it will apply the style on import…I am not at a PC with DT but I think that is how it works…

It does not work on my end.
Imported a bunch of new raw files. Checked if any of them had a different development than my default. None of the files had any styles applied.
Manually applied the style for my camera on some files and double checked the development of those against the newly imported. Same result, none of the newly imported files had any styles applied!

What type of camera (maker and model)?

Documentation is at darktable lua documentation - apply_camera_style

The script also adds shortcuts to apply the styles to a collection or selection so that you don’t have to reimport.

Exif says:
Make=OLYMPUS CORPORATION
Model=E-M10MarkII

It’s a pattern match problem. Fixed it in testing, need to make sure I didn’t break anything else :grinning:

Should have it out tomorrow

1 Like

Fixed. The next time you start darktable the update should be pulled down and installed.

3 Likes

It works!
Thanks so much for looking into this Bill. I really appreciate it!

2 Likes

Thanks for finding it.

1 Like