Lua script request for batch auto-tune applied for filmic rgb and/or sigmoid modules
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu với các sự kiện darkroom-image-loaded và pixelpipe-processing-complete cùng API dt.gui.action() được nêu trong yêu cầu. Kiểm tra các script Lua hiện có để tìm các trình xử lý sự kiện, các hành động auto-picker và các mẫu về tùy chọn hoặc phím tắt. Hoàn thành khi có một script ví dụ bao quát filmic rgb, hỗ trợ sigmoid tùy chọn, thứ tự pixelpipe và cách bật hoặc tắt hành vi này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Lua
- Star
- 219
- Fork
- 142
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của darktable-org/lua-scripts
-
dtutils.string: build_substitute_list errors when a metadata field (e.g. rights) has been removed Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
darktable-org/lua-scripts#716 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 63/100
darktable-org/lua-scripts#706 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
darktable-org/lua-scripts#627 · 2 bình luận ·
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
darktable-org/lua-scripts#618 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
darktable-org/lua-scripts#710 · 3 bình luận ·
Tất cả issue của darktable-org/lua-scripts
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
fluent/fluent-bit-docs#2727 ·
-
OS:Windows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Stupid fucking settings Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
api7/lua-resty-saml#62 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100