From f7e7025b7ad1e269ce1ff3e4899c39ebeb404416 Mon Sep 17 00:00:00 2001 From: Skyfish1 Date: Thu, 28 Jul 2022 22:40:05 +0200 Subject: [PATCH] Update ExifDirectoryBase.java Added Exif 0x4749 (Rating Percent) --- Source/com/drew/metadata/exif/ExifDirectoryBase.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/com/drew/metadata/exif/ExifDirectoryBase.java b/Source/com/drew/metadata/exif/ExifDirectoryBase.java index b937ef890..0d93c949c 100644 --- a/Source/com/drew/metadata/exif/ExifDirectoryBase.java +++ b/Source/com/drew/metadata/exif/ExifDirectoryBase.java @@ -176,6 +176,7 @@ public abstract class ExifDirectoryBase extends Directory public static final int TAG_RELATED_IMAGE_HEIGHT = 0x1002; public static final int TAG_RATING = 0x4746; + public static final int TAG_RATING_PERCENT = 0x4749; public static final int TAG_CFA_REPEAT_PATTERN_DIM = 0x828D; /** There are two definitions for CFA pattern, I don't know the difference... */ @@ -679,6 +680,7 @@ protected static void addExifTagNames(HashMap map) map.put(TAG_RELATED_IMAGE_WIDTH, "Related Image Width"); map.put(TAG_RELATED_IMAGE_HEIGHT, "Related Image Height"); map.put(TAG_RATING, "Rating"); + map.put(TAG_RATING_PERCENT, "Rating Percent"); map.put(TAG_CFA_REPEAT_PATTERN_DIM, "CFA Repeat Pattern Dim"); map.put(TAG_CFA_PATTERN_2, "CFA Pattern"); map.put(TAG_BATTERY_LEVEL, "Battery Level");