Feature #1051

Lens request Tamron SP AF 28-75mm F/2.8 XR Di LD Aspherical [IF] MACRO

Added by Petrov Vlad almost 2 years ago. Updated almost 2 years ago.

Status:ClosedStart date:05 Apr 2015
Priority:NormalDue date:06 Apr 2015
Assignee:Niels Kristian Bech Jensen% Done:

100%

Category:metadata
Target version:0.25

Description

Please add the this lens Tamron SP AF 28-75mm F/2.8 XR Di LD Aspherical [IF] MACRO
http://www.tamron.eu/lenses/sp-af-28-75mm-f28-xr-di-ld-aspherical-if-macro/

exiv2 -pt IMG_8946.CR2 | grep -ai lens
Exif.CanonCs.LensType Short 1 161
Exif.CanonCs.Lens Short 3 28.0 - 75.0 mm
Exif.Canon.LensModel Ascii 64 28-75mm

IMG_8364.CR2 (12.6 MB) Petrov Vlad, 05 Apr 2015 08:38

Associated revisions

Revision 3660
Added by Niels Kristian Bech Jensen almost 2 years ago

Fix bug #1051: Recognize Tamron SP AF 28-75mm f/2.8 XR Di LD Aspherical [IF] Macro on Canon cameras.

History

#1 Updated by Robin Mills almost 2 years ago

  • Category set to metadata
  • Status changed from New to Assigned
  • Assignee set to Robin Mills
  • Target version set to 0.25

Thanks for reporting this, Petrov

Can you attach an image to this report, please? I can use that to find out if it's already supported on the trunk - and otherwise we can be certain to make you happy. There are similar lenses already supported:

663 rmills@rmillsmbp:~/gnu/exiv2/trunk/src $ grep Tamron *.cpp | grep 28  | grep 75 | grep -i macro
canonmn.cpp:        {  28, "Tamron SP AF 28-75mm f/2.8 XR Di LD Aspherical [IF] Macro"  }, // 2
minoltamn.cpp:                 "Tamron SP AF 28-75mm F2.8 XR Di LD Aspherical [IF] Macro" },
nikonmn.cpp:{0x33,0x54,0x3C,0x5E,0x24,0x24,0x62,0x02,0x00,0x00,0x00, "Tamron", "A09", "SP AF 28-75mm F/2.8 XR Di LD Aspherical (IF) Macro"},
nikonmn.cpp:{0xFA,0x54,0x3C,0x5E,0x24,0x24,0x84,0x06,0x01,0x00,0x00, "Tamron", "A09NII", "SP AF 28-75mm F/2.8 XR Di LD Aspherical (IF) Macro"},
nikonmn.cpp:{0xFA,0x54,0x3C,0x5E,0x24,0x24,0xDF,0x06,0x01,0x00,0x00, "Tamron", "A09NII", "SP AF 28-75mm F/2.8 XR Di LD Aspherical (IF) Macro"},
pentaxmn.cpp:        { 0x0431, "Tamron SP AF 28-75mm F2.8 XR Di LD Aspherical [IF] Macro (A09)" },
664 rmills@rmillsmbp:~/gnu/exiv2/trunk/src $ 

Happy Easter.

#2 Updated by Petrov Vlad almost 2 years ago

This lens looks like my:

canonmn.cpp:        {  28, "Tamron SP AF 28-75mm f/2.8 XR Di LD Aspherical [IF] Macro"  }, // 2

#3 Updated by Robin Mills almost 2 years ago

  • Status changed from Assigned to Resolved

I think you're in luck. It's on the trunk:

668 rmills@rmillsmbp:~/gnu/exiv2/trunk/src $ exiv2 -pa -g Lens ~/Downloads/IMG_8364.CR2  
Exif.CanonCs.LensType                        Short       1  161
Exif.CanonCs.Lens                            Short       3  28.0 - 75.0 mm
Exif.Canon.LensModel                         Ascii      64  28-75mm
669 rmills@rmillsmbp:~/gnu/exiv2/trunk/src $ 
I'll mark this as "Resolved". If you disagree - please update this report and we'll investigate further.

#4 Updated by Robin Mills almost 2 years ago

  • Status changed from Resolved to Assigned
  • Assignee changed from Robin Mills to Niels Kristian Bech Jensen

I'm going to ask Niels to look at this. I don't see Tamron in the output. We had an issue #1008 several months ago in which both the Tamron and Sigma lens were using the same ID. There's no way for Exiv2 to know which lens is in use. This may be another instance of this kind of issue: http://dev.exiv2.org/issues/1008

#5 Updated by Niels Kristian Bech Jensen almost 2 years ago

  • Due date set to 06 Apr 2015
  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

It is a case of a third-party lens maker using the different lens ID numbers for the same lens, maybe after a small update. I have updated the trunk to recognize the lens.

Best regards,
Niels Kristian Bech Jensen

#6 Updated by Robin Mills almost 2 years ago

Well done, Niels. That's the fix:

769 rmills@rmillsmbp:~/gnu/exiv2/trunk $ bin/.libs/exiv2 -pa -g Lens ~/Downloads/IMG_8364.CR2 
Exif.CanonCs.LensType                        Short       1  Tamron SP AF 28-75mm f/2.8 XR Di LD Aspherical [IF] Macro
Exif.CanonCs.Lens                            Short       3  28.0 - 75.0 mm
Exif.Canon.LensModel                         Ascii      64  28-75mm
770 rmills@rmillsmbp:~/gnu/exiv2/trunk $ 

#7 Updated by Andreas Huggel almost 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux