darktable-org / darktable-org/lua-scripts
RFC: new event after preset or style has been applied
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 219
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
I am thinking about a way to trigger some actions after a style has been applied., Typical examples would be:
- rotate and perspective: analyze line structure and correct
- AgX: auto tune levels
- Filmic: Auto tune levels
- ...
My current idea is to execute a Lua script after a style (or maybe preset) has been applied. However, to my knowledge this would need a new event. There is already an event DT_SIGNAL_PRESET_APPLIED, but it is not exposed to Lua scripts. I could not find any similar event for styles.
@wpferguson What is your opinion?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the existing DT_SIGNAL_PRESET_APPLIED event and how Lua scripts receive events; the issue names no files or tests. Clarify whether styles and presets need separate notifications, then establish the event behavior and Lua exposure required for the proposed post-application actions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100