I usually set a watermark on my photos and I would like to be able to deactivate sometimes the watermark when I am exporting files from the light table.
Long ago, with an old version of Darktable, I used to achieve that with a style but it doesn't work anymore.
I tried to recreate the style, and export it. I formatted it with xmlstarlet just to read it :
<?xml version="1.0" encoding="UTF-8"?>
<darktable_style version="1.0">
<info>
<name>Sans Filigrane</name>
<description/>
</info>
<style>
<plugin>
<num>9</num>
<module>5</module>
<operation>watermark</operation>
<op_params>gz10eJxjYFjgxMCwwJHh+mKbBqHm3RwMEMAIxOWJJalFuYlF2fFFmekZJcV6xWXpDKNgFJABXFKzEsNKFYIT84oVDA1I1w8Ao1QSBA==</op_params>
<enabled>1</enabled>
<blendop_params>gz11eJxjYGBgkGAAgRNODGiAEV0AJ2iwh+CRyscOAAdeGQQ=</blendop_params>
<blendop_version>9</blendop_version>
<multi_priority>0</multi_priority>
<multi_name/>
<iop_order>76,000000</iop_order>
</plugin>
</style>
</darktable_style>
I tried to replace <enabled>1</enabled>
by <enabled>0</enabled>
in the original file and managed to re-import it but it misbehaved exactly the same.
I searched deeper in the Darktable documentation and found that styles are applied like duplicates instances of the modules on top of the history stack. I suspect that deactivating a module at export time couldn't be achieved by applying a style.
Maybe somebody would have a solution ?