Skip to content

Commit

Permalink
Merge pull request #2026 from Exiv2/027_update_dng16
Browse files Browse the repository at this point in the history
Add more DNG 1.6 tags
  • Loading branch information
kmilos committed Dec 21, 2021
2 parents a6e0319 + 64e4dfc commit 1605fe5
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions src/tags_int.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,8 @@ namespace Exiv2 {
TagInfo(0xc4a5, "PrintImageMatching", N_("Print Image Matching"),
N_("Print Image Matching, description needed."),
ifd0Id, otherTags, undefined, -1, printValue),
////////////////////////////////////////
// https://wwwimages.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/dng_spec_1.5.0.0.pdf
TagInfo(0xc612, "DNGVersion", N_("DNG version"),
N_("This tag encodes the DNG four-tier version number. For files "
"compliant with version 1.1.0.0 of the DNG specification, this "
Expand Down Expand Up @@ -1495,9 +1497,8 @@ namespace Exiv2 {
"independent, ignoring fixed pattern effects and other sources of noise (e.g., "
"pixel response non-uniformity, spatially-dependent thermal effects, etc.)."),
ifd0Id, dngTags, tiffDouble, -1, printValue), // DNG tag

////////////////////////////////////////
// http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/cinemadng/pdfs/CinemaDNG_Format_Specification_v1_1.pdf
// https://www.adobe.com/content/dam/acom/en/devnet/CinemaDNG/pdf/CinemaDNG_Format_Specification_v1_1.pdf
TagInfo(0xc763, "TimeCodes", N_("TimeCodes"),
N_("The optional TimeCodes tag shall contain an ordered array of time codes. "
"All time codes shall be 8 bytes long and in binary format. The tag may "
Expand Down Expand Up @@ -1623,6 +1624,8 @@ namespace Exiv2 {
TagInfo(0xc7ee, "EnhanceParams", N_("Enhance Params"),
N_("A string that documents how the enhanced image data was processed."),
ifd0Id, dngTags, asciiString, 0, printValue), // DNG 1.5 tag
////////////////////////////////////////
// https://helpx.adobe.com/photoshop/kb/dng-specification-tags.html
TagInfo(0xcd2d, "ProfileGainTableMap", N_("Profile Gain Table Map"),
N_("Contains spatially varying gain tables that can be applied while processing the "
"image as a starting point for user adjustments."),
Expand Down Expand Up @@ -1681,6 +1684,10 @@ namespace Exiv2 {
"for the third illuminant. Otherwise, this tag is ignored. The "
"format of the data is the same as IlluminantData1."),
ifd0Id, dngTags, undefined, -1, printValue), // DNG 1.6 tag
TagInfo(0xcd38, "MaskSubArea", N_("Mask Subarea"),
N_("This tag identifies the crop rectangle of this IFD's mask, "
"relative to the main image."),
ifd0Id, dngTags, unsignedLong, 4, printValue), // DNG 1.6 tag
TagInfo(0xcd39, "ProfileHueSatMapData3", N_("Profile Hue Sat Map Data 3"),
N_("This tag contains the data for the third hue/saturation/value mapping "
"table. Each entry of the table contains three 32-bit IEEE floating-point "
Expand All @@ -1698,6 +1705,14 @@ namespace Exiv2 {
"used if ColorPlanes is greater than 3. The matrix is stored in row "
"scan order."),
ifd0Id, dngTags, signedRational, -1, printValue), // DNG 1.6 tag
TagInfo(0xcd3b, "RGBTables", N_("RGB Tables"),
N_("This tag specifies color transforms that can be applied to masked image "
"regions. Color transforms are specified using RGB-to-RGB color lookup tables. "
"These tables are associated with Semantic Masks to limit the color transform "
"to a sub-region of the image. The overall color transform is a linear "
"combination of the color tables, weighted by their corresponding Semantic "
"Masks."),
ifd0Id, dngTags, undefined, -1, printValue), // DNG 1.6 tag

////////////////////////////////////////
// End of list marker
Expand Down

0 comments on commit 1605fe5

Please sign in to comment.