How to remove a style from an image?

I can apply styles OK in dt, but having done so I have decided that I don’t want that chosen style on some of the images to which I have applied it. There is an ‘apply’ button, whose action is as I expect. There is a ‘remove’ button whose action is not what I expect: it removes the style from my portfolio of styles. Where do I find the ‘un-apply style’ function ?

I don’t think you can undo a style, you’d just turn off or reset the modules in the style. Or reset the whole history if you want to start all the way over.

Does Ctrl+Z help or not?

If you have not done anything else after applying the style (specially adding other modules on top or compressing the history stack), you can select the last entry in the history before applying the style, and then press ‘compress history stack’.

In lighttable mode you can use “Discard history stack” on one or more images.

1 Like

Aha! It does indeed work - I just never thought to try that. Thanks

Yes, thank you, that works well - I was just slightly perturbed at the implications of discarding the (whole) stack.

Having (with the help given here by you) understood how to undo the application of a style, I now see that this wasn’t the right question! I should have asked how to reduce or moderate the effect of a style - or is it either on or off? Going into the history stack and altering the opacity on each of the modules seems to me to corrupt the style (as well as being more work than sliding one mythical slider to control the effect of the style).

Short answer: you can’t.

Longer answer: a style in darktable is just a collection of modules applied, with a certain set of parameters defined in each one. It’s not different from applying the same modules with the same parameters by hand, the style is just a shortcut to do it with a single click. The only way to ‘moderate’ the effect of the style is what you’re doing: go into each module and retouch its parameters to tone down its effects. Some modules may need to change the opacity, some others the strength of some parameter, others may even not need to be touched. The good thing is that once you find the right set of modifications you can save a new style named ‘Some style - reduced’ and use it from then on.

Yes, that makes sense. Thanks.