Skip to content

Commit 04d770a

Browse files
authored
Merge pull request #891 from sat3ll/tamron70-300.A030.nikon
Add Tamron SP 70-300mm f/4-5.6 Di VC USD (Model: A030) (Nikon Mount)
2 parents 26dac6a + 1640ac8 commit 04d770a

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

src/nikonmn_int.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2509,6 +2509,9 @@ fmountlens[] = {
25092509
// https://github.com/Exiv2/exiv2/issues/743
25102510
{0xc9,0x48,0x37,0x5c,0x24,0x24,0x4b,0x4e,0x01,0x00,0x00, "Sigma", "", "24-70mm F2,8 DG OS HSM Art"},
25112511
//
2512+
// https://github.com/Exiv2/exiv2/issues/598 , https://github.com/Exiv2/exiv2/pull/891
2513+
{0xCF,0x47,0x5C,0x8E,0x31,0x3D,0xDF,0x0E,0x00,0x00,0x00, "Tamron", "A030", "SP 70-300mm F/4-5.6 Di VC USD"},
2514+
//
25122515
{0,0,0,0,0,0,0,0,0,0,0, nullptr, nullptr, nullptr}
25132516
};
25142517
//------------------------------------------------------------------------------
23.1 KB
Binary file not shown.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# -*- coding: utf-8 -*-
2+
3+
import system_tests
4+
5+
class NikonTamronLens_A030_70_300_F4_56(metaclass=system_tests.CaseMeta):
6+
url = "https://github.com/Exiv2/exiv2/issues/598"
7+
8+
filename = "$data_path/Tamron_SP70-300_F4-5.6_Di_VC_USD_A030.exv"
9+
commands = ["$exiv2 -pa --grep lensid/i $filename"]
10+
stderr = [""]
11+
stdout = [""
12+
"""Exif.NikonLd3.LensIDNumber Byte 1 Tamron SP 70-300mm F/4-5.6 Di VC USD
13+
"""
14+
]
15+
retval = [0]

0 commit comments

Comments
 (0)