[0.9.1] Showed focus distance is wrong (at least for D5000)
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.
Merge pull request #135 from jcsogo/exif
Set properly Subject Distance for Nikon cameras. Fixes #8541
#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 about 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.
#5 Updated by Jose Carlos Garcia Sogo about 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.