Add Tamron SP 70-300mm f/4-5.6 Di VC USD (Model: A030) (Nikon Mount)

(cherry picked from commit 1640ac8d0ca8bbb975f7a986bf0537545423fffc)
v0.27.3
sat3ll 6 years ago committed by Luis Diaz Mas
parent 408dfc87d1
commit 2beefab719

@ -2509,6 +2509,9 @@ fmountlens[] = {
// https://github.com/Exiv2/exiv2/issues/743
{0xc9,0x48,0x37,0x5c,0x24,0x24,0x4b,0x4e,0x01,0x00,0x00, "Sigma", "", "24-70mm F2,8 DG OS HSM Art"},
//
// https://github.com/Exiv2/exiv2/issues/598 , https://github.com/Exiv2/exiv2/pull/891
{0xCF,0x47,0x5C,0x8E,0x31,0x3D,0xDF,0x0E,0x00,0x00,0x00, "Tamron", "A030", "SP 70-300mm F/4-5.6 Di VC USD"},
//
{0,0,0,0,0,0,0,0,0,0,0, NULL, NULL, NULL}
};
//------------------------------------------------------------------------------

@ -0,0 +1,15 @@
# -*- coding: utf-8 -*-
import system_tests
class NikonTamronLens_A030_70_300_F4_56(metaclass=system_tests.CaseMeta):
url = "https://github.com/Exiv2/exiv2/issues/598"
filename = "$data_path/Tamron_SP70-300_F4-5.6_Di_VC_USD_A030.exv"
commands = ["$exiv2 -pa --grep lensid/i $filename"]
stderr = [""]
stdout = [""
"""Exif.NikonLd3.LensIDNumber Byte 1 Tamron SP 70-300mm F/4-5.6 Di VC USD
"""
]
retval = [0]
Loading…
Cancel
Save