Lua script request for batch auto-tune applied for filmic rgb and/or sigmoid modules
还没有人认领这个 Issue。
评估
调研方向
从请求中提到的 darkroom-image-loaded 和 pixelpipe-processing-complete 事件以及 dt.gui.action() API 开始。检查现有的 Lua 脚本,了解事件处理程序、auto-picker 操作以及首选项或快捷键模式。完成标准是提供一个示例脚本,涵盖 filmic rgb、可选的 sigmoid 支持、pixelpipe 顺序,以及启用或禁用该行为的方法。
由索引模型根据 Issue 内容生成。
描述
Use Case
When processing large event or travel photo sets (hundreds to thousands of images), one of the most repetitive tasks is manually clicking the auto-tune picker for modules such as filmic rgb and/or sigmoid on every image.
While the operation itself is quick, repeating it across a large collection becomes time-consuming when speed is the primary goal.
Background
I asked about this on IRC and received the following guidance from wpferguson:
Yes it would be possible to "auto-tune" with a Lua script. You could catch the darkroom-image-loaded event to trigger then use dt.gui.action() to enable the auto-picker, then catch pixelpipe-processing-complete, then disable the picker with dt.gui.action(). If more than 1 picker is going to be used then they should be done in pixelpipe order since the output of the lower (in the pixelpipe) pickers will affect the higher modules.
Request
Would anyone be willing to provide an example Lua script (or code snippets) that would:
- Automatically trigger the filmic rgb auto-tune picker when an image is opened in darkroom.
- Optionally support sigmoid auto-tuning as well.
- Respect pixelpipe ordering if multiple auto-pickers are enabled.
- Ideally allow enabling/disabling the behavior via a simple preference or shortcut.
An even more useful variant would be a script that can batch-apply the auto-tune operation across a selected set of images, though I'm not sure whether that is feasible with the current API.
This is my first encounter with Lua scripting. Any guidance or starter code would be greatly appreciated.
- 主要语言
- Lua
- 星标
- 219
- 派生
- 142
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
darktable-org/lua-scripts 的其他 Issue
-
dtutils.string: build_substitute_list errors when a metadata field (e.g. rights) has been removed 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
darktable-org/lua-scripts#716 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 63/100
darktable-org/lua-scripts#706 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
darktable-org/lua-scripts#627 · 2 条评论 ·
-
bug
难度 1/5 1 小时以内 新手友好度 65/100
darktable-org/lua-scripts#618 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 52/100
darktable-org/lua-scripts#710 · 3 条评论 ·
查看 darktable-org/lua-scripts 的全部 Issue
相似的 Issue
-
OS:Windows
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 84/100
api7/lua-resty-saml#62 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 75/100
nvim-tree/nvim-tree.lua#3357 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 94/100
codymikol/multiverse.nvim#320 ·