Skip to content

Commit 2401795

Browse files
committed
Add DNG 1.6 support
1 parent 94ab08e commit 2401795

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

src/tags_int.cpp

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ namespace Exiv2 {
226226
{ 8, N_("Primary image, Depth map") }, // DNG 1.5
227227
{ 9, N_("Thumbnail/Preview image, Depth map") }, // DNG 1.5
228228
{ 16, N_("Enhanced image") }, // DNG 1.5 (clashes w/ TIFF-FX)
229-
{ 65537, N_("Thumbnail/Preview image, Alternative") } // DNG 1.2
229+
{ 65537, N_("Thumbnail/Preview image, Alternative") }, // DNG 1.2
230+
{ 65540, N_("Primary image, Semantic mask") } // DNG 1.6
230231
};
231232

232233
//! SubfileType, TIFF tag 0x00ff
@@ -288,7 +289,8 @@ namespace Exiv2 {
288289
{ 32844, N_("Pixar LogL") },
289290
{ 32845, N_("Pixar LogLuv") },
290291
{ 34892, N_("Linear Raw") },
291-
{ 51177, N_("Depth") } // DNG 1.5
292+
{ 51177, N_("Depth Map") }, // DNG 1.5
293+
{ 52527, N_("Semantic Mask") } // DNG 1.6
292294
};
293295

294296
//! Thresholding, tag 0x0107
@@ -1615,6 +1617,16 @@ namespace Exiv2 {
16151617
TagInfo(0xc7ee, "EnhanceParams", N_("Enhance Params"),
16161618
N_("A string that documents how the enhanced image data was processed."),
16171619
ifd0Id, dngTags, asciiString, 0, printValue), // DNG 1.5 tag
1620+
TagInfo(0xcd2d, "ProfileGainTableMap", N_("Profile Gain Table Map"),
1621+
N_("Contains spatially varying gain tables that can be applied while processing the "
1622+
"image as a starting point for user adjustments."),
1623+
ifd0Id, dngTags, undefined, -1, printValue), // DNG 1.6 tag
1624+
TagInfo(0xcd2e, "SemanticName", N_("Semantic Name"),
1625+
N_("A string that identifies the semantic mask."),
1626+
ifd0Id, dngTags, asciiString, 0, printValue), // DNG 1.6 tag
1627+
TagInfo(0xcd30, "SemanticInstanceID", N_("Semantic Instance ID"),
1628+
N_("A string that identifies a specific instance in a semantic mask."),
1629+
ifd0Id, dngTags, asciiString, 0, printValue), // DNG 1.6 tag
16181630

16191631
////////////////////////////////////////
16201632
// End of list marker

0 commit comments

Comments
 (0)