darktable-org / darktable-org/lua-scripts

Add custom format variables

Open
#589 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
219
Forks
142
PR merge metrics
No merged PRs in 30d

Description

Seems I can't find a way to add custom format variables, for example, for the image exposure value (not the 'bias') calculated by the formula $$\log_2{(100N^2/(\rm{ISO}\cdot S))}$$, I could add a variable called $(EV_AT_ISO100) and use it in lighttable tooltip/overlay text formatting textbox. Or, can I modify the overlay text directly in lua scripts?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. First identify where lighttable tooltip and overlay text formatting are implemented, then determine how custom variables would be defined and evaluated; done means a documented variable can expose the requested exposure value in both formatting contexts.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.