Patch #1301

New lens: Sigma 18-35mm f/1.8 DC HSM Art for Canon

Added by Alexander Steffen over 1 year ago. Updated over 1 year ago.

Status:ClosedStart date:15 Jul 2017
Priority:NormalDue date:
Assignee:Robin Mills% Done:


Category:metadataEstimated time:1.00 hour
Target version:0.27


The attached patch adds the lens ID for Sigma's 18-35mm lens for Canon. Detection for this lens used to work for me in past, but I probably ran a patched version of exiv2 and forgot to submit the patch.

Sigma-18-35mm-f-1.8-DC-HSM-Art.patch Magnifier (672 Bytes) Alexander Steffen, 15 Jul 2017 10:05

Related issues

Related to Exiv2 - Patch #1300: New lens: Canon EF-S 35mm f/2.8 Macro IS STM Closed 15 Jul 2017


#1 Updated by Robin Mills over 1 year ago

  • Status changed from New to Assigned
  • Assignee set to Robin Mills
  • Target version set to 0.27

See comments on #1300.

#2 Updated by Robin Mills over 1 year ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
  • Estimated time set to 1.00


I've submitted your patch. Thank you for sending this. If you have a suitable test file, I'll add it to our test suite as a "regression detector". It's rather important to have a test file for this lens. As you have noticed, there are 5 lenses with the id 150. It's entirely likely that your "fix" will break when another lens with id=150 is added. By having your test file in the test suite, we'll know that your fix requires attention.

With Exiv2 v0.26, we added a feature to enable users to add their own lens definitions to Exiv2 in the file ~/.exiv2. This is discussed in some detail here:


Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux