Feature #1170

Sigma 35mm F1.4 DG HSM on Canon 6D

Added by Robin Mills 11 months ago. Updated 10 months ago.

Status:ClosedStart date:22 Mar 2016
Priority:NormalDue date:
Assignee:Robin Mills% Done:

100%

Category:lensEstimated time:10.00 hours
Target version:0.26


Related issues

Related to Exiv2 - Feature #1034: Camera accessory overflow file Closed 19 Feb 2015

Associated revisions

Revision 4236
Added by Robin Mills 11 months ago

#1170. Thank you, Marcus for reporting this and providing the test data.

Revision 4237
Added by Robin Mills 11 months ago

#1170 Correction to r4236

History

#1 Updated by Robin Mills 11 months ago

Fix submitted r4236. Thank You, Marcus for reporting this and providing the test data.

The Fix is almost trivial, not even one line. Before:

560 rmills@rmillsmbp:~/gnu/exiv2/trunk $ exiv2 -pa --grep apertu/i --grep lens/i http://dev.exiv2.org/attachments/download/988/testimage.jpg
Exif.Photo.ApertureValue                     Rational    1  F1.4
Exif.CanonCs.LensType                        Short       1  Canon EF 17-35mm f/2.8L
Exif.CanonCs.Lens                            Short       3  35.0 mm
Exif.CanonCs.MaxAperture                     Short       1  F1.4
Exif.CanonCs.MinAperture                     Short       1  F16
Exif.CanonCs.DisplayAperture                 Short       1  0
Exif.CanonSi.TargetAperture                  Short       1  F1.4
Exif.CanonSi.ApertureValue                   Short       1  F1.4
Exif.Canon.LensModel                         Ascii      74  35mm
Exif.Photo.LensSpecification                 Rational    4  35/1 35/1 0/1 0/1
Exif.Photo.LensModel                         Ascii       5  35mm
Exif.Photo.LensSerialNumber                  Ascii      11  0000000000
561 rmills@rmillsmbp:~/gnu/exiv2/trunk $
After:
562 rmills@rmillsmbp:~/gnu/exiv2/trunk $ exiv2 -pa --grep apertu/i --grep lens/i http://dev.exiv2.org/attachments/download/988/testimage.jpg
Exif.Photo.ApertureValue                     Rational    1  F1.4
Exif.CanonCs.LensType                        Short       1  Sigma 35mm f/1.4 DG HSM
Exif.CanonCs.Lens                            Short       3  35.0 mm
Exif.CanonCs.MaxAperture                     Short       1  F1.4
Exif.CanonCs.MinAperture                     Short       1  F16
Exif.CanonCs.DisplayAperture                 Short       1  0
Exif.CanonSi.TargetAperture                  Short       1  F1.4
Exif.CanonSi.ApertureValue                   Short       1  F1.4
Exif.Canon.LensModel                         Ascii      74  35mm
Exif.Photo.LensSpecification                 Rational    4  35/1 35/1 0/1 0/1
Exif.Photo.LensModel                         Ascii       5  35mm
Exif.Photo.LensSerialNumber                  Ascii      11  0000000000
563 rmills@rmillsmbp:~/gnu/exiv2/trunk $

#2 Updated by Robin Mills 11 months ago

#1034 The user can put the file .exiv2 (in .ini format) in their home directory and define a new lens:

[canon]
169=Sigma 35mm F1.4 DG HSM ART

Exiv2 will consult that file and use definitions in preference to what's compiled into the library. Let's not discuss the performance implication. I'll find a way to make it very fast (don't read if not necessary, then read/cache).

#3 Updated by Robin Mills 11 months ago

  • Estimated time changed from 6.00 to 10.00

#4 Updated by Robin Mills 10 months ago

  • Status changed from Assigned to Closed
  • % Done changed from 80 to 100

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux