Hello everybody!

Just decided to play with DNG converter and discovered problem related
to lens data interpretation by DT (2.4.2).

1. NEF file loaded by DT applies correct lens parameters.
        Lens info shown by DT: Nikon AF-S DX Nikkor 18-55mm f/3.5-5.6G
VR II

2. DNG file cannot apply it because wrong EXIF information is used
(short lens name vs. full).
        Lens info shown by DT: 18.0-55.0 mm f/3.5-5.6

3. Focus information also is lost in DNG.

Simple investigation with exiftool shows that no lens information is
lost in DNG.

exiftool DSC_0270.NEF | grep -i Lens
Lens Type                       : G VR
Lens                            : 18-55mm f/3.5-5.6
Lens Data Version               : 0204
Lens ID Number                  : 162
Lens F Stops                    : 5.33
Lens ID                         : AF-S DX Nikkor 18-55mm f/3.5-5.6G VR
II
Lens Spec                       : 18-55mm f/3.5-5.6 G VR

exiftool DSC_0270.DNG | grep -i Lens
Lens Info                       : 18-55mm f/3.5-5.6
Lens Model                      : 18.0-55.0 mm f/3.5-5.6
DNG Lens Info                   : 18-55mm f/3.5-5.6
Lens Type                       : G VR
Lens                            : 18-55mm f/3.5-5.6
Lens Data Version               : 0204
Lens ID Number                  : 162
Lens F Stops                    : 5.33
Lens ID                         : AF-S DX Nikkor 18-55mm f/3.5-5.6G VR
II
Lens Spec                       : 18-55mm f/3.5-5.6 G VR

exiftool DSC_0270.NEF | grep -i Focus
Focus Mode                      : Manual
Focus Position                  : 0x05
Focus Distance                  : 3.35 m
Contrast Detect AF In Focus     : No
Auto Focus                      : Off

exiftool DSC_0270.DNG | grep -i Focus
Approximate Focus Distance      : 4294967295
Focus Mode                      : Manual
Focus Position                  : 0x05
Focus Distance                  : 3.35 m
Contrast Detect AF In Focus     : No
Auto Focus                      : Off

Sample file: https://drive.google.com/drive/folders/1FqWZ0qyKShCPznd-1B
L2vet84HnsT9wK?usp=sharing
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to