Skip to content

Commit cfeceee

Browse files
authored
add lens: Olympus M.ZUIKO DIGITAL ED 12-45mm F4.0 PRO (#1725)
* add lens ID for Olympus M.Zuiko Digital ED 12-45mm F4.0 Pro #1723 * add test for #1723 checking the Olympus M.Zuiko Digital ED 12-45mm F4.0 Pro recognized correctly
1 parent 19000cd commit cfeceee

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

src/olympusmn_int.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1313,6 +1313,7 @@ namespace Exiv2 {
13131313
{ { 0, 50, 0 }, "Olympus Zuiko Digital ED 14-35mm F2.0 SWD" },
13141314
{ { 0, 51, 0 }, "Olympus Zuiko Digital 25mm F2.8" },
13151315
{ { 0, 52, 0 }, "Olympus Zuiko Digital ED 9-18mm F4.0-5.6" },
1316+
{ { 0, 52, 16 }, "Olympus M.Zuiko Digital ED 12-45mm F4.0 Pro" },
13161317
{ { 0, 53, 0 }, "Olympus Zuiko Digital 14-54mm F2.8-3.5 II" },
13171318
{ { 1, 1, 0 }, "Sigma 18-50mm F3.5-5.6 DC" },
13181319
{ { 1, 1, 16 }, "Sigma 30mm F2.8 EX DN" },
15.4 KB
Binary file not shown.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# -*- coding: utf-8 -*-
2+
3+
import system_tests
4+
5+
class Olympus_MZuiko_12_45mm_f4_Pro(metaclass=system_tests.CaseMeta):
6+
url = "https://github.com/Exiv2/exiv2/issues/1723"
7+
8+
filename = "$data_path/olympus-m.zuiko-12-45mm-f4-pro.exv"
9+
commands = ["$exiv2 -pa -K Exif.OlympusEq.LensType $filename"]
10+
stderr = [""]
11+
stdout = ["""Exif.OlympusEq.LensType Byte 6 Olympus M.Zuiko Digital ED 12-45mm F4.0 Pro
12+
"""]
13+
retval = [0]

0 commit comments

Comments
 (0)