Project

General

Profile

Bug #8541

[0.9.1] Showed focus distance is wrong (at least for D5000)

Added by Markus Jung almost 9 years ago. Updated almost 7 years ago.

Status:
Fixed
Priority:
Low
Category:
General
Start date:
Due date:
% Done:

100%

Estimated time:
Affected Version:
git development version
System:
unknown
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Since 0.9(?), Darktable shows a distance value in the EXIF information box. Sadly, the printed value is wrong and appears to be more or less random, at least for the images made with an Nikon D5000. Exiftool calculates the right distance value (or at least less wrong ;)

An example image generated by darktable is appended.

example.jpg (18.8 KB) example.jpg Markus Jung, 10/05/2012 11:55 AM

Associated revisions

Revision 8983e75b (diff)
Added by Jose Carlos Garcia Sogo over 7 years ago

Set properly Subject Distance for Nikon cameras. Fixes #8541

Revision b75046a0
Added by Pascal de Bruijn over 7 years ago

Merge pull request #135 from jcsogo/exif

Set properly Subject Distance for Nikon cameras. Fixes #8541

Revision 1cb44a1e (diff)
Added by Jose Carlos Garcia Sogo over 7 years ago

Set properly Subject Distance for Nikon cameras. Fixes #8541

History

#1 Updated by Tobias Ellinghaus over 7 years ago

  • Affected Version set to git development version
  • % Done changed from 0 to 20
  • Status changed from New to Incomplete

Is this still valid?

#2 Updated by Markus Jung over 7 years ago

Until 1.0.5, yes. I have not tried master yet.
Oh, btw. the old attachment has been lost, i attached a new one.

exiftool example.jpg | grep "Focus Distance"

Focus Distance : 2.24 m

Darktable says: 94 (no unit and the numerical value is wrong, too)

The behaviour is the same with the original RAW.

#3 Updated by Jose Carlos Garcia Sogo over 7 years ago

  • % Done changed from 20 to 90
  • Target version changed from --- to Candidate for next minor release
  • Assignee set to Jose Carlos Garcia Sogo
  • Status changed from Incomplete to Fixed: To be cherry-picked

This has been fixed for Nikon cameras in branch exif of jcsogo/darktable repo in github.

#4 Updated by Markus Jung over 7 years ago

This works with DT 1.1.2, but only for new imported images. Old images still show the wrong distance. How to fix this without loosing the whole history stack?

#5 Updated by Jose Carlos Garcia Sogo over 7 years ago

Markus Jung wrote:

This works with DT 1.1.2, but only for new imported images. Old images still show the wrong distance. How to fix this without loosing the whole history stack?

First, make a backup of your library by copying ~/.config/darktable/library.db
Then, make sure you have the writing of the sidecar enabled in preferences (those xmp files).
Last, select all your images in lighttable and remove and reimport them.

There is no way currently to force dt to read again exif data from already imported images.

#6 Updated by Simon Spannagel almost 7 years ago

  • System set to unknown
  • % Done changed from 90 to 100
  • Status changed from Fixed: To be cherry-picked to Fixed

Also available in: Atom PDF

Go to top