darktable-org / darktable-org/darktable

Some EXIF variables don't appear to be working for copy & import

Open
#21,310 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
13.1k
Forks
1.4k
Avg merge
22h 14m
Merged PRs (30d)
198

Description

Is there an existing issue for this?
  • I checked and did not find my issue in the already reported ones
Describe the bug

Certain EXIF variables do not appear to be working in copy and import, while others are working correctly. These include:

$(LENS)
$(EXIF.CROP_FACTOR)
$(EXIF.FOCAL.LENGTH)

Steps to reproduce
  1. enter any of these in the copy and import variables
  2. either a blank is returned in the case of the $(LENS) variable
  3. Or 0.0 is returned for the other two variables listed
Expected behavior

Include the data in the outputs

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

darktable.org / GitHub release

darktable version

5.4.1

What OS are you using?

Windows

What is the version of your OS?

10 pro

Describe your system

No response

Are you using OpenCL GPU in darktable?

None

If yes, what is the GPU card and driver?

No response

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

Have tried two different cameras, the EXIF onfo is showing up for all lens parameters on both cameras in the image information section.

Image Image Image

Contributor guide

Open the contributing guide

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

Start by reproducing the issue in darktable 5.4.1 using the copy and import variables $(LENS), $(EXIF.CROP_FACTOR), and $(EXIF.FOCAL.LENGTH), then compare their results with the image information section. Trace the copy and import variable handling and confirm that the three variables produce the corresponding EXIF data rather than a blank value or 0.0.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.