From 3f1d54f2a70d651e644a221ad949dfcee46e9cfc Mon Sep 17 00:00:00 2001 From: selim mustafaev Date: Sun, 30 Sep 2018 11:44:14 +0300 Subject: [PATCH] Added tag for GPS info --- TIFF.cpp | 3 ++- TIFF.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/TIFF.cpp b/TIFF.cpp index 8283e88..8de7729 100644 --- a/TIFF.cpp +++ b/TIFF.cpp @@ -64,7 +64,8 @@ static const std::map tagDescriptions = { {OPCODE_LIST_1, "Opcode list 1"}, {OPCODE_LIST_2, "Opcode list 2"}, {OPCODE_LIST_3, "Opcode list 3"}, - {NOISE_PROFILE, "Noise profile"} + {NOISE_PROFILE, "Noise profile"}, + {GPS_INFO, "GPS info (offset to IFD)"} }; std::ostream &operator<<(std::ostream &stream, Compression compression) { diff --git a/TIFF.h b/TIFF.h index 41c5a47..b59d85e 100644 --- a/TIFF.h +++ b/TIFF.h @@ -58,6 +58,7 @@ enum TiffTag: uint16_t { EXPOSURE_TIME = 0x829A, F_NUMBER = 0x829D, EXIF_IFD = 0x8769, + GPS_INFO = 0x8825, ISO_SPEED_RATINGS = 0x8827, DATE_TIME_ORIGINAL = 0x9003, FOCAL_LENGTH = 0x920A,