Project

General

Profile

Bug #11729

ReOpen Bug #9418 (Fixed): Sigma 30mm f/1.4 EX DC HSM not detected correctly?!

Added by Alexander Peter 16 days ago. Updated 15 days ago.

Status:
Incomplete
Priority:
Low
Assignee:
-
Category:
General
Target version:
-
Start date:
09/06/2017
Due date:
% Done:

20%

Affected Version:
2.2.5
System:
Mac OS X
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Hi,

just made some RAWs with my Canon 700D and a "Sigma 30mm f/1.4 EX DC HSM". When importing to darktable it's recognised as a "Sigma 15-30mm f/3.5-4.5 EX DG Aspherical".
I double checked with Exiftool, Apple Fotos and XnViewMP:

exiftool 1709CB4566.CR2 | grep -i lens
Lens Type : Canon EF 17-35mm f/2.8L or Sigma Lens
Lens Info : 30mm f/0
Lens Model : 30mm
Lens Serial Number : 0000000000
Lens : 30.0 mm
Lens ID : Sigma 30mm f/1.4 EX DC HSM
Lens : 30.0 mm (35 mm equivalent: 47.5 mm)

also for exported JPG - only in darktable assignment is wrong.
Lens ID in XnViewMP is shown as 30 30 169 - Darktable 2.2.5 on macOS 10.12.6

Alexander

History

#1 Updated by Roman Lebedev 16 days ago

  • % Done changed from 0 to 20
  • Status changed from New to Incomplete

Alexander Peter wrote:

Hi,

just made some RAWs with my Canon 700D and a "Sigma 30mm f/1.4 EX DC HSM". When importing to darktable it's recognised as a "Sigma 15-30mm f/3.5-4.5 EX DG Aspherical".
I double checked with Exiftool, Apple Fotos and XnViewMP:

exiftool 1709CB4566.CR2 | grep -i lens

We don't use exiftool, but libexiv2.

Lens Type : Canon EF 17-35mm f/2.8L or Sigma Lens
Lens Info : 30mm f/0
Lens Model : 30mm
Lens Serial Number : 0000000000
Lens : 30.0 mm
Lens ID : Sigma 30mm f/1.4 EX DC HSM
Lens : 30.0 mm (35 mm equivalent: 47.5 mm)

also for exported JPG - only in darktable assignment is wrong.
Lens ID in XnViewMP is shown as 30 30 169 - Darktable 2.2.5 on macOS 10.12.6

Alexander

#2 Updated by Alexander Peter 15 days ago

Ok, maybe a little bit misleading: I'm aware of libexiv2 - I mentioned exiftool to show what information my CR2/JPG provide.
I have no standalone exiv2 on my mac, so I think I depend on the libexiv2 provided with the darktable.app? I had something similar with darktable 1.6.7 around 2 years ago (#10590) - this disappeared with the update of libexiv2...

Alexander

[edit] Meanwhile, I downloaded the latest exiv2 distribution for macOS (0.26 001a00 64bit) and checked my image with
macosx/bin/exiv2 -pt ~/Pictures/DSLR/RAW/1709CB4566.CR2 | grep -ai lens
and get
invalid type value detected in Image::printIFDStructure: 0
Warning: Directory Canon, entry 0x0000 has unknown Exif (TIFF) type 0; setting type size 1.
Exif.CanonCs.LensType Short 1 Sigma 30mm f/1.4 EX DC HSM
Exif.CanonCs.Lens Short 3 30.0 mm
Exif.Canon.LensModel Ascii 74 30mm
Exif.Photo.LensSpecification Rational 4 30/1 30/1 0/1 0/1
Exif.Photo.LensModel Ascii 5 30mm
Exif.Photo.LensSerialNumber Ascii 11 0000000000

Good.
When stumbling through the content of darktable.app I can find a libexiv2.14.dylib while the latest exiv2 package provides libexiv2.26.dylib...

Is there an easy way to update/exchange the libexiv2 inside darktable.app?

Alexander

Also available in: Atom PDF