commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r1241131 [2/3] - in /commons/proper/sanselan/trunk/src: main/java/org/apache/commons/sanselan/formats/tiff/ main/java/org/apache/commons/sanselan/formats/tiff/constants/ main/java/org/apache/commons/sanselan/formats/tiff/write/ test/java/or...
Date Mon, 06 Feb 2012 19:55:31 GMT
Modified: commons/proper/sanselan/trunk/src/main/java/org/apache/commons/sanselan/formats/tiff/constants/ExifTagConstants.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/main/java/org/apache/commons/sanselan/formats/tiff/constants/ExifTagConstants.java?rev=1241131&r1=1241130&r2=1241131&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/main/java/org/apache/commons/sanselan/formats/tiff/constants/ExifTagConstants.java (original)
+++ commons/proper/sanselan/trunk/src/main/java/org/apache/commons/sanselan/formats/tiff/constants/ExifTagConstants.java Mon Feb  6 19:55:30 2012
@@ -16,1462 +16,1355 @@
  */
 package org.apache.commons.sanselan.formats.tiff.constants;
 
-public interface ExifTagConstants
-        extends
+import java.util.Collections;
+import java.util.List;
+
+public enum ExifTagConstants
+        implements
             TiffDirectoryConstants,
-            TiffFieldTypeConstants
+            TiffFieldTypeConstants,
+            TagHolder
 { /**/
-    public static final TagInfo EXIF_TAG_INTEROP_INDEX = new TagInfo(
+    INTEROP_INDEX(new TagInfo(
             "Interop Index", 0x0001, FIELD_TYPE_ASCII, 1,
-            EXIF_DIRECTORY_INTEROP_IFD);
-    public static final TagInfo EXIF_TAG_INTEROP_VERSION = new TagInfo(
+            EXIF_DIRECTORY_INTEROP_IFD)),
+    INTEROP_VERSION(new TagInfo(
             "Interop Version", 0x0002, FIELD_TYPE_UNDEFINED, 1,
-            EXIF_DIRECTORY_INTEROP_IFD);
-    public static final TagInfo EXIF_TAG_PROCESSING_SOFTWARE = new TagInfo(
+            EXIF_DIRECTORY_INTEROP_IFD)),
+    PROCESSING_SOFTWARE(new TagInfo(
             "Processing Software", 0x000b, FIELD_TYPE_ASCII, 1,
-            EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_SUBFILE_TYPE = new TagInfo(
-            "Subfile Type", 0x00fe, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0);
-    // tag constants public static final int SUBFILE_TYPE_VALUE_FULL_RESOLUTION_IMAGE = 0;
-    public static final int SUBFILE_TYPE_VALUE_REDUCED_RESOLUTION_IMAGE = 1;
-    public static final int SUBFILE_TYPE_VALUE_SINGLE_PAGE_OF_MULTI_PAGE_IMAGE = 2;
-    public static final int SUBFILE_TYPE_VALUE_SINGLE_PAGE_OF_MULTI_PAGE_REDUCED_RESOLUTION_IMAGE = 3;
-    public static final int SUBFILE_TYPE_VALUE_TRANSPARENCY_MASK = 4;
-    public static final int SUBFILE_TYPE_VALUE_TRANSPARENCY_MASK_OF_REDUCED_RESOLUTION_IMAGE = 5;
-    public static final int SUBFILE_TYPE_VALUE_TRANSPARENCY_MASK_OF_MULTI_PAGE_IMAGE = 6;
-    public static final int SUBFILE_TYPE_VALUE_TRANSPARENCY_MASK_OF_REDUCED_RESOLUTION_MULTI_PAGE_IMAGE = 7;
-    public static final TagInfo EXIF_TAG_OLD_SUBFILE_TYPE = new TagInfo(
+            EXIF_DIRECTORY_IFD0)),
+    SUBFILE_TYPE(new TagInfo(
+            "Subfile Type", 0x00fe, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0)) {
+        public static final int SUBFILE_TYPE_VALUE_FULL_RESOLUTION_IMAGE = 0;
+        public static final int SUBFILE_TYPE_VALUE_REDUCED_RESOLUTION_IMAGE = 1;
+        public static final int SUBFILE_TYPE_VALUE_SINGLE_PAGE_OF_MULTI_PAGE_IMAGE = 2;
+        public static final int SUBFILE_TYPE_VALUE_SINGLE_PAGE_OF_MULTI_PAGE_REDUCED_RESOLUTION_IMAGE = 3;
+        public static final int SUBFILE_TYPE_VALUE_TRANSPARENCY_MASK = 4;
+        public static final int SUBFILE_TYPE_VALUE_TRANSPARENCY_MASK_OF_REDUCED_RESOLUTION_IMAGE = 5;
+        public static final int SUBFILE_TYPE_VALUE_TRANSPARENCY_MASK_OF_MULTI_PAGE_IMAGE = 6;
+        public static final int SUBFILE_TYPE_VALUE_TRANSPARENCY_MASK_OF_REDUCED_RESOLUTION_MULTI_PAGE_IMAGE = 7;
+    },
+    OLD_SUBFILE_TYPE(new TagInfo(
             "Old Subfile Type", 0x00ff, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_IFD0);
-    // tag constants public static final int OLD_SUBFILE_TYPE_VALUE_FULL_RESOLUTION_IMAGE = 1;
-    public static final int OLD_SUBFILE_TYPE_VALUE_REDUCED_RESOLUTION_IMAGE = 2;
-    public static final int OLD_SUBFILE_TYPE_VALUE_SINGLE_PAGE_OF_MULTI_PAGE_IMAGE = 3;
-    public static final TagInfo EXIF_TAG_IMAGE_WIDTH_IFD0 = new TagInfo(
-            "Image Width", 0x0100, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_IMAGE_HEIGHT_IFD0 = new TagInfo(
-            "Image Height", 0x0101, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_BITS_PER_SAMPLE = new TagInfo(
+            EXIF_DIRECTORY_IFD0)) {
+        public static final int OLD_SUBFILE_TYPE_VALUE_FULL_RESOLUTION_IMAGE = 1;
+        public static final int OLD_SUBFILE_TYPE_VALUE_REDUCED_RESOLUTION_IMAGE = 2;
+        public static final int OLD_SUBFILE_TYPE_VALUE_SINGLE_PAGE_OF_MULTI_PAGE_IMAGE = 3;
+    },
+    IMAGE_WIDTH_IFD0(new TagInfo(
+            "Image Width", 0x0100, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0)),
+    IMAGE_HEIGHT_IFD0(new TagInfo(
+            "Image Height", 0x0101, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0)),
+    BITS_PER_SAMPLE(new TagInfo(
             "Bits Per Sample", 0x0102, FIELD_TYPE_SHORT, -1,
-            EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_COMPRESSION = new TagInfo(
-            "Compression", 0x0103, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0);
-    // tag constants public static final int COMPRESSION_VALUE_UNCOMPRESSED = 1;
-    public static final int COMPRESSION_VALUE_CCITT_1D = 2;
-    public static final int COMPRESSION_VALUE_T4_GROUP_3_FAX = 3;
-    public static final int COMPRESSION_VALUE_T6_GROUP_4_FAX = 4;
-    public static final int COMPRESSION_VALUE_LZW = 5;
-    public static final int COMPRESSION_VALUE_JPEG_OLD_STYLE = 6;
-    public static final int COMPRESSION_VALUE_JPEG = 7;
-    public static final int COMPRESSION_VALUE_ADOBE_DEFLATE = 8;
-    public static final int COMPRESSION_VALUE_JBIG_B_AND_W = 9;
-    public static final int COMPRESSION_VALUE_JBIG_COLOR = 10;
-    public static final int COMPRESSION_VALUE_NEXT = 32766;
-    public static final int COMPRESSION_VALUE_EPSON_ERF_COMPRESSED = 32769;
-    public static final int COMPRESSION_VALUE_CCIRLEW = 32771;
-    public static final int COMPRESSION_VALUE_PACK_BITS = 32773;
-    public static final int COMPRESSION_VALUE_THUNDERSCAN = 32809;
-    public static final int COMPRESSION_VALUE_IT8CTPAD = 32895;
-    public static final int COMPRESSION_VALUE_IT8LW = 32896;
-    public static final int COMPRESSION_VALUE_IT8MP = 32897;
-    public static final int COMPRESSION_VALUE_IT8BL = 32898;
-    public static final int COMPRESSION_VALUE_PIXAR_FILM = 32908;
-    public static final int COMPRESSION_VALUE_PIXAR_LOG = 32909;
-    public static final int COMPRESSION_VALUE_DEFLATE = 32946;
-    public static final int COMPRESSION_VALUE_DCS = 32947;
-    public static final int COMPRESSION_VALUE_JBIG = 34661;
-    public static final int COMPRESSION_VALUE_SGILOG = 34676;
-    public static final int COMPRESSION_VALUE_SGILOG_24 = 34677;
-    public static final int COMPRESSION_VALUE_JPEG_2000 = 34712;
-    public static final int COMPRESSION_VALUE_NIKON_NEF_COMPRESSED = 34713;
-    public static final int COMPRESSION_VALUE_KODAK_DCR_COMPRESSED = 65000;
-    public static final int COMPRESSION_VALUE_PENTAX_PEF_COMPRESSED = 65535;
-    public static final TagInfo EXIF_TAG_PHOTOMETRIC_INTERPRETATION = new TagInfo(
+            EXIF_DIRECTORY_IFD0)),
+    COMPRESSION(new TagInfo(
+            "Compression", 0x0103, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0)) {
+        public static final int COMPRESSION_VALUE_UNCOMPRESSED = 1;
+        public static final int COMPRESSION_VALUE_CCITT_1D = 2;
+        public static final int COMPRESSION_VALUE_T4_GROUP_3_FAX = 3;
+        public static final int COMPRESSION_VALUE_T6_GROUP_4_FAX = 4;
+        public static final int COMPRESSION_VALUE_LZW = 5;
+        public static final int COMPRESSION_VALUE_JPEG_OLD_STYLE = 6;
+        public static final int COMPRESSION_VALUE_JPEG = 7;
+        public static final int COMPRESSION_VALUE_ADOBE_DEFLATE = 8;
+        public static final int COMPRESSION_VALUE_JBIG_B_AND_W = 9;
+        public static final int COMPRESSION_VALUE_JBIG_COLOR = 10;
+        public static final int COMPRESSION_VALUE_NEXT = 32766;
+        public static final int COMPRESSION_VALUE_EPSON_ERF_COMPRESSED = 32769;
+        public static final int COMPRESSION_VALUE_CCIRLEW = 32771;
+        public static final int COMPRESSION_VALUE_PACK_BITS = 32773;
+        public static final int COMPRESSION_VALUE_THUNDERSCAN = 32809;
+        public static final int COMPRESSION_VALUE_IT8CTPAD = 32895;
+        public static final int COMPRESSION_VALUE_IT8LW = 32896;
+        public static final int COMPRESSION_VALUE_IT8MP = 32897;
+        public static final int COMPRESSION_VALUE_IT8BL = 32898;
+        public static final int COMPRESSION_VALUE_PIXAR_FILM = 32908;
+        public static final int COMPRESSION_VALUE_PIXAR_LOG = 32909;
+        public static final int COMPRESSION_VALUE_DEFLATE = 32946;
+        public static final int COMPRESSION_VALUE_DCS = 32947;
+        public static final int COMPRESSION_VALUE_JBIG = 34661;
+        public static final int COMPRESSION_VALUE_SGILOG = 34676;
+        public static final int COMPRESSION_VALUE_SGILOG_24 = 34677;
+        public static final int COMPRESSION_VALUE_JPEG_2000 = 34712;
+        public static final int COMPRESSION_VALUE_NIKON_NEF_COMPRESSED = 34713;
+        public static final int COMPRESSION_VALUE_KODAK_DCR_COMPRESSED = 65000;
+        public static final int COMPRESSION_VALUE_PENTAX_PEF_COMPRESSED = 65535;
+    },
+    PHOTOMETRIC_INTERPRETATION(new TagInfo(
             "Photometric Interpretation", 0x0106, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_IFD0);
-    // tag constants public static final int PHOTOMETRIC_INTERPRETATION_VALUE_WHITE_IS_ZERO = 0;
-    public static final int PHOTOMETRIC_INTERPRETATION_VALUE_BLACK_IS_ZERO = 1;
-    public static final int PHOTOMETRIC_INTERPRETATION_VALUE_RGB = 2;
-    public static final int PHOTOMETRIC_INTERPRETATION_VALUE_RGB_PALETTE = 3;
-    public static final int PHOTOMETRIC_INTERPRETATION_VALUE_TRANSPARENCY_MASK = 4;
-    public static final int PHOTOMETRIC_INTERPRETATION_VALUE_CMYK = 5;
-    public static final int PHOTOMETRIC_INTERPRETATION_VALUE_YCB_CR = 6;
-    public static final int PHOTOMETRIC_INTERPRETATION_VALUE_CIELAB = 8;
-    public static final int PHOTOMETRIC_INTERPRETATION_VALUE_ICCLAB = 9;
-    public static final int PHOTOMETRIC_INTERPRETATION_VALUE_ITULAB = 10;
-    public static final int PHOTOMETRIC_INTERPRETATION_VALUE_COLOR_FILTER_ARRAY = 32803;
-    public static final int PHOTOMETRIC_INTERPRETATION_VALUE_PIXAR_LOG_L = 32844;
-    public static final int PHOTOMETRIC_INTERPRETATION_VALUE_PIXAR_LOG_LUV = 32845;
-    public static final int PHOTOMETRIC_INTERPRETATION_VALUE_LINEAR_RAW = 34892;
-    public static final TagInfo EXIF_TAG_THRESHOLDING = new TagInfo(
-            "Thresholding", 0x0107, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0);
-    // tag constants public static final int THRESHOLDING_VALUE_NO_DITHERING_OR_HALFTONING = 1;
-    public static final int THRESHOLDING_VALUE_ORDERED_DITHER_OR_HALFTONE = 2;
-    public static final int THRESHOLDING_VALUE_RANDOMIZED_DITHER = 3;
-    public static final TagInfo EXIF_TAG_CELL_WIDTH = new TagInfo("Cell Width",
-            0x0108, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_CELL_LENGTH = new TagInfo(
-            "Cell Length", 0x0109, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_FILL_ORDER = new TagInfo("Fill Order",
-            0x010a, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0);
-    // tag constants public static final int FILL_ORDER_VALUE_NORMAL = 1;
-    public static final int FILL_ORDER_VALUE_REVERSED = 2;
-    public static final TagInfo EXIF_TAG_DOCUMENT_NAME = new TagInfo(
-            "Document Name", 0x010d, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_IMAGE_DESCRIPTION = new TagInfo(
+            EXIF_DIRECTORY_IFD0)) {
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_WHITE_IS_ZERO = 0;
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_BLACK_IS_ZERO = 1;
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_RGB = 2;
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_RGB_PALETTE = 3;
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_TRANSPARENCY_MASK = 4;
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_CMYK = 5;
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_YCB_CR = 6;
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_CIELAB = 8;
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_ICCLAB = 9;
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_ITULAB = 10;
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_COLOR_FILTER_ARRAY = 32803;
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_PIXAR_LOG_L = 32844;
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_PIXAR_LOG_LUV = 32845;
+        public static final int PHOTOMETRIC_INTERPRETATION_VALUE_LINEAR_RAW = 34892;
+    },
+    THRESHOLDING(new TagInfo(
+            "Thresholding", 0x0107, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0)) {
+        public static final int THRESHOLDING_VALUE_NO_DITHERING_OR_HALFTONING = 1;
+        public static final int THRESHOLDING_VALUE_ORDERED_DITHER_OR_HALFTONE = 2;
+        public static final int THRESHOLDING_VALUE_RANDOMIZED_DITHER = 3;
+    },
+    CELL_WIDTH(new TagInfo("Cell Width",
+            0x0108, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0)),
+    CELL_LENGTH(new TagInfo(
+            "Cell Length", 0x0109, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0)),
+    FILL_ORDER(new TagInfo("Fill Order",
+            0x010a, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0)) {
+        public static final int FILL_ORDER_VALUE_NORMAL = 1;
+        public static final int FILL_ORDER_VALUE_REVERSED = 2;
+    },
+    DOCUMENT_NAME(new TagInfo(
+            "Document Name", 0x010d, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0)),
+    IMAGE_DESCRIPTION(new TagInfo(
             "Image Description", 0x010e, FIELD_TYPE_ASCII, 1,
-            EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_MAKE = new TagInfo("Make", 0x010f,
-            FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_MODEL = new TagInfo("Model", 0x0110,
-            FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0);
-    // poly tag public static final TagInfo2 EXIF_TAG_STRIP_OFFSETS = new TagInfo2( "StripOffsets", 0x0111, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_PREVIEW_IMAGE_START_IFD0 = new TagInfo.Offset(
+            EXIF_DIRECTORY_IFD0)),
+    MAKE(new TagInfo("Make", 0x010f,
+            FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0)),
+    MODEL(new TagInfo("Model", 0x0110,
+            FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0)),
+    // poly tag public static final TagInfo2 STRIP_OFFSETS(new TagInfo2( "StripOffsets", 0x0111, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    PREVIEW_IMAGE_START_IFD0(new TagInfo.Offset(
             "Preview Image Start", 0x0111, FIELD_TYPE_LONG, 1,
-            EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_PREVIEW_IMAGE_START_SUB_IFD1 = new TagInfo.Offset(
+            EXIF_DIRECTORY_IFD0)),
+    PREVIEW_IMAGE_START_SUB_IFD1(new TagInfo.Offset(
             "Preview Image Start", 0x0111, FIELD_TYPE_LONG, 1,
-            EXIF_DIRECTORY_SUB_IFD1);
-    public static final TagInfo EXIF_TAG_JPG_FROM_RAW_START_SUB_IFD2 = new TagInfo.Offset(
+            EXIF_DIRECTORY_SUB_IFD1)),
+    JPG_FROM_RAW_START_SUB_IFD2(new TagInfo.Offset(
             "Jpg From Raw Start", 0x0111, FIELD_TYPE_LONG, 1,
-            EXIF_DIRECTORY_SUB_IFD2);
-    public static final TagInfo EXIF_TAG_ORIENTATION = new TagInfo(
-            "Orientation", 0x0112, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0);
-    // tag constants public static final int ORIENTATION_VALUE_HORIZONTAL_NORMAL = 1;
-    public static final int ORIENTATION_VALUE_MIRROR_HORIZONTAL = 2;
-    public static final int ORIENTATION_VALUE_ROTATE_180 = 3;
-    public static final int ORIENTATION_VALUE_MIRROR_VERTICAL = 4;
-    public static final int ORIENTATION_VALUE_MIRROR_HORIZONTAL_AND_ROTATE_270_CW = 5;
-    public static final int ORIENTATION_VALUE_ROTATE_90_CW = 6;
-    public static final int ORIENTATION_VALUE_MIRROR_HORIZONTAL_AND_ROTATE_90_CW = 7;
-    public static final int ORIENTATION_VALUE_ROTATE_270_CW = 8;
-    public static final TagInfo EXIF_TAG_SAMPLES_PER_PIXEL = new TagInfo(
+            EXIF_DIRECTORY_SUB_IFD2)),
+    ORIENTATION(new TagInfo(
+            "Orientation", 0x0112, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0)) {
+        public static final int ORIENTATION_VALUE_HORIZONTAL_NORMAL = 1;
+        public static final int ORIENTATION_VALUE_MIRROR_HORIZONTAL = 2;
+        public static final int ORIENTATION_VALUE_ROTATE_180 = 3;
+        public static final int ORIENTATION_VALUE_MIRROR_VERTICAL = 4;
+        public static final int ORIENTATION_VALUE_MIRROR_HORIZONTAL_AND_ROTATE_270_CW = 5;
+        public static final int ORIENTATION_VALUE_ROTATE_90_CW = 6;
+        public static final int ORIENTATION_VALUE_MIRROR_HORIZONTAL_AND_ROTATE_90_CW = 7;
+        public static final int ORIENTATION_VALUE_ROTATE_270_CW = 8;
+    },
+    SAMPLES_PER_PIXEL(new TagInfo(
             "Samples Per Pixel", 0x0115, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_ROWS_PER_STRIP = new TagInfo(
-            "Rows Per Strip", 0x0116, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0);
-    // poly tag public static final TagInfo2 EXIF_TAG_STRIP_BYTE_COUNTS = new TagInfo2( "StripByteCounts", 0x0117, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_PREVIEW_IMAGE_LENGTH_IFD0 = new TagInfo(
+            EXIF_DIRECTORY_IFD0)),
+    ROWS_PER_STRIP(new TagInfo(
+            "Rows Per Strip", 0x0116, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0)),
+    // poly tag public static final TagInfo2 STRIP_BYTE_COUNTS(new TagInfo2( "StripByteCounts", 0x0117, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    PREVIEW_IMAGE_LENGTH_IFD0(new TagInfo(
             "Preview Image Length", 0x0117, FIELD_TYPE_LONG, 1,
-            EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_PREVIEW_IMAGE_LENGTH_SUB_IFD1 = new TagInfo(
+            EXIF_DIRECTORY_IFD0)),
+    PREVIEW_IMAGE_LENGTH_SUB_IFD1(new TagInfo(
             "Preview Image Length", 0x0117, FIELD_TYPE_LONG, 1,
-            EXIF_DIRECTORY_SUB_IFD1);
-    public static final TagInfo EXIF_TAG_JPG_FROM_RAW_LENGTH_SUB_IFD2 = new TagInfo(
+            EXIF_DIRECTORY_SUB_IFD1)),
+    JPG_FROM_RAW_LENGTH_SUB_IFD2(new TagInfo(
             "Jpg From Raw Length", 0x0117, FIELD_TYPE_LONG, 1,
-            EXIF_DIRECTORY_SUB_IFD2);
-    public static final TagInfo EXIF_TAG_MIN_SAMPLE_VALUE = new TagInfo(
+            EXIF_DIRECTORY_SUB_IFD2)),
+    MIN_SAMPLE_VALUE(new TagInfo(
             "Min Sample Value", 0x0118, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_MAX_SAMPLE_VALUE = new TagInfo(
+            EXIF_DIRECTORY_IFD0)),
+    MAX_SAMPLE_VALUE(new TagInfo(
             "Max Sample Value", 0x0119, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_XRESOLUTION = new TagInfo(
-            "XResolution", 0x011a, FIELD_TYPE_RATIONAL, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_YRESOLUTION = new TagInfo(
-            "YResolution", 0x011b, FIELD_TYPE_RATIONAL, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_PLANAR_CONFIGURATION = new TagInfo(
+            EXIF_DIRECTORY_IFD0)),
+    XRESOLUTION(new TagInfo(
+            "XResolution", 0x011a, FIELD_TYPE_RATIONAL, 1, EXIF_DIRECTORY_IFD0)),
+    YRESOLUTION(new TagInfo(
+            "YResolution", 0x011b, FIELD_TYPE_RATIONAL, 1, EXIF_DIRECTORY_IFD0)),
+    PLANAR_CONFIGURATION(new TagInfo(
             "Planar Configuration", 0x011c, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_IFD0);
-    // tag constants public static final int PLANAR_CONFIGURATION_VALUE_CHUNKY = 1;
-    public static final int PLANAR_CONFIGURATION_VALUE_PLANAR = 2;
-    public static final TagInfo EXIF_TAG_PAGE_NAME = new TagInfo("Page Name",
-            0x011d, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_XPOSITION = new TagInfo("XPosition",
-            0x011e, FIELD_TYPE_RATIONAL, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_YPOSITION = new TagInfo("YPosition",
-            0x011f, FIELD_TYPE_RATIONAL, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_FREE_OFFSETS = new TagInfo(
+            EXIF_DIRECTORY_IFD0)) {
+        public static final int PLANAR_CONFIGURATION_VALUE_CHUNKY = 1;
+        public static final int PLANAR_CONFIGURATION_VALUE_PLANAR = 2;
+    },
+    PAGE_NAME(new TagInfo("Page Name",
+            0x011d, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0)),
+    XPOSITION(new TagInfo("XPosition",
+            0x011e, FIELD_TYPE_RATIONAL, 1, EXIF_DIRECTORY_IFD0)),
+    YPOSITION(new TagInfo("YPosition",
+            0x011f, FIELD_TYPE_RATIONAL, 1, EXIF_DIRECTORY_IFD0)),
+    FREE_OFFSETS(new TagInfo(
             "Free Offsets", 0x0120, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_FREE_BYTE_COUNTS = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    FREE_BYTE_COUNTS(new TagInfo(
             "Free Byte Counts", 0x0121, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_GRAY_RESPONSE_UNIT = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    GRAY_RESPONSE_UNIT(new TagInfo(
             "Gray Response Unit", 0x0122, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_IFD0);
-    // tag constants public static final int GRAY_RESPONSE_UNIT_VALUE_0_1 = 1;
-    public static final int GRAY_RESPONSE_UNIT_VALUE_0_001 = 2;
-    public static final int GRAY_RESPONSE_UNIT_VALUE_0_0001 = 3;
-    public static final int GRAY_RESPONSE_UNIT_VALUE_1E_05 = 4;
-    public static final int GRAY_RESPONSE_UNIT_VALUE_1E_06 = 5;
-    public static final TagInfo EXIF_TAG_GRAY_RESPONSE_CURVE = new TagInfo(
+            EXIF_DIRECTORY_IFD0)) {
+        public static final int GRAY_RESPONSE_UNIT_VALUE_0_1 = 1;
+        public static final int GRAY_RESPONSE_UNIT_VALUE_0_001 = 2;
+        public static final int GRAY_RESPONSE_UNIT_VALUE_0_0001 = 3;
+        public static final int GRAY_RESPONSE_UNIT_VALUE_1E_05 = 4;
+        public static final int GRAY_RESPONSE_UNIT_VALUE_1E_06 = 5;
+    },
+    GRAY_RESPONSE_CURVE(new TagInfo(
             "Gray Response Curve", 0x0123, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_T4OPTIONS = new TagInfo("T4 Options",
-            0x0124, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_T6OPTIONS = new TagInfo("T6 Options",
-            0x0125, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_RESOLUTION_UNIT = new TagInfo(
-            "Resolution Unit", 0x0128, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0);
-    // tag constants public static final int RESOLUTION_UNIT_VALUE_NONE = 1;
-    public static final int RESOLUTION_UNIT_VALUE_INCHES = 2;
-    public static final int RESOLUTION_UNIT_VALUE_CM = 3;
-    public static final TagInfo EXIF_TAG_PAGE_NUMBER = new TagInfo(
-            "Page Number", 0x0129, FIELD_TYPE_SHORT, 2, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_COLOR_RESPONSE_UNIT = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    T4OPTIONS(new TagInfo("T4 Options",
+            0x0124, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    T6OPTIONS(new TagInfo("T6 Options",
+            0x0125, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    RESOLUTION_UNIT(new TagInfo(
+            "Resolution Unit", 0x0128, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0)) {
+        public static final int RESOLUTION_UNIT_VALUE_NONE = 1;
+        public static final int RESOLUTION_UNIT_VALUE_INCHES = 2;
+        public static final int RESOLUTION_UNIT_VALUE_CM = 3;
+    },
+    PAGE_NUMBER(new TagInfo(
+            "Page Number", 0x0129, FIELD_TYPE_SHORT, 2, EXIF_DIRECTORY_IFD0)),
+    COLOR_RESPONSE_UNIT(new TagInfo(
             "Color Response Unit", 0x012c, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_TRANSFER_FUNCTION = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    TRANSFER_FUNCTION(new TagInfo(
             "Transfer Function", 0x012d, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_SOFTWARE = new TagInfo("Software",
-            0x0131, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_MODIFY_DATE = new TagInfo(
-            "Modify Date", 0x0132, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_ARTIST = new TagInfo("Artist", 0x013b,
-            FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_HOST_COMPUTER = new TagInfo(
-            "Host Computer", 0x013c, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_PREDICTOR = new TagInfo("Predictor",
-            0x013d, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0);
-    // tag constants public static final int PREDICTOR_VALUE_NONE = 1;
-    public static final int PREDICTOR_VALUE_HORIZONTAL_DIFFERENCING = 2;
-    public static final TagInfo EXIF_TAG_WHITE_POINT = new TagInfo(
-            "White Point", 0x013e, FIELD_TYPE_RATIONAL, 2, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_PRIMARY_CHROMATICITIES = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    SOFTWARE(new TagInfo("Software",
+            0x0131, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0)),
+    MODIFY_DATE(new TagInfo(
+            "Modify Date", 0x0132, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0)),
+    ARTIST(new TagInfo("Artist", 0x013b,
+            FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0)),
+    HOST_COMPUTER(new TagInfo(
+            "Host Computer", 0x013c, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0)),
+    PREDICTOR(new TagInfo("Predictor",
+            0x013d, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0)) {
+        public static final int PREDICTOR_VALUE_NONE = 1;
+        public static final int PREDICTOR_VALUE_HORIZONTAL_DIFFERENCING = 2;
+    },
+    WHITE_POINT(new TagInfo(
+            "White Point", 0x013e, FIELD_TYPE_RATIONAL, 2, EXIF_DIRECTORY_IFD0)),
+    PRIMARY_CHROMATICITIES(new TagInfo(
             "Primary Chromaticities", 0x013f, FIELD_TYPE_RATIONAL, 6,
-            EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_COLOR_MAP = new TagInfo("Color Map",
-            0x0140, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_HALFTONE_HINTS = new TagInfo(
-            "Halftone Hints", 0x0141, FIELD_TYPE_SHORT, 2, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_TILE_WIDTH = new TagInfo("Tile Width",
-            0x0142, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_TILE_LENGTH = new TagInfo(
-            "Tile Length", 0x0143, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_TILE_OFFSETS = new TagInfo(
+            EXIF_DIRECTORY_IFD0)),
+    COLOR_MAP(new TagInfo("Color Map",
+            0x0140, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    HALFTONE_HINTS(new TagInfo(
+            "Halftone Hints", 0x0141, FIELD_TYPE_SHORT, 2, EXIF_DIRECTORY_IFD0)),
+    TILE_WIDTH(new TagInfo("Tile Width",
+            0x0142, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0)),
+    TILE_LENGTH(new TagInfo(
+            "Tile Length", 0x0143, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0)),
+    TILE_OFFSETS(new TagInfo(
             "Tile Offsets", 0x0144, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_TILE_BYTE_COUNTS = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    TILE_BYTE_COUNTS(new TagInfo(
             "Tile Byte Counts", 0x0145, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_BAD_FAX_LINES = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    BAD_FAX_LINES(new TagInfo(
             "Bad Fax Lines", 0x0146, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_CLEAN_FAX_DATA = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    CLEAN_FAX_DATA(new TagInfo(
             "Clean Fax Data", 0x0147, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    // tag constants public static final int CLEAN_FAX_DATA_VALUE_CLEAN = 0;
-    public static final int CLEAN_FAX_DATA_VALUE_REGENERATED = 1;
-    public static final int CLEAN_FAX_DATA_VALUE_UNCLEAN = 2;
-    public static final TagInfo EXIF_TAG_CONSECUTIVE_BAD_FAX_LINES = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)) {
+        public static final int CLEAN_FAX_DATA_VALUE_CLEAN = 0;
+        public static final int CLEAN_FAX_DATA_VALUE_REGENERATED = 1;
+        public static final int CLEAN_FAX_DATA_VALUE_UNCLEAN = 2;
+    },
+    CONSECUTIVE_BAD_FAX_LINES(new TagInfo(
             "Consecutive Bad Fax Lines", 0x0148,
-            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_SUB_IFD = new TagInfo("Sub IFD",
-            0x014a, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_INK_SET = new TagInfo("Ink Set",
-            0x014c, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0);
-    // tag constants public static final int INK_SET_VALUE_CMYK = 1;
-    public static final int INK_SET_VALUE_NOT_CMYK = 2;
-    public static final TagInfo EXIF_TAG_INK_NAMES = new TagInfo("Ink Names",
-            0x014d, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_NUMBEROF_INKS = new TagInfo(
+            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    SUB_IFD(new TagInfo("Sub IFD",
+            0x014a, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    INK_SET(new TagInfo("Ink Set",
+            0x014c, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0)) {
+        public static final int INK_SET_VALUE_CMYK = 1;
+        public static final int INK_SET_VALUE_NOT_CMYK = 2;
+    },
+    INK_NAMES(new TagInfo("Ink Names",
+            0x014d, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    NUMBEROF_INKS(new TagInfo(
             "Numberof Inks", 0x014e, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_DOT_RANGE = new TagInfo("Dot Range",
-            0x0150, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_TARGET_PRINTER = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    DOT_RANGE(new TagInfo("Dot Range",
+            0x0150, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0)),
+    TARGET_PRINTER(new TagInfo(
             "Target Printer", 0x0151, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_EXTRA_SAMPLES = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    EXTRA_SAMPLES(new TagInfo(
             "Extra Samples", 0x0152, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_SAMPLE_FORMAT = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    SAMPLE_FORMAT(new TagInfo(
             "Sample Format", 0x0153, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    // tag constants public static final int SAMPLE_FORMAT_VALUE_UNSIGNED_INTEGER = 1;
-    public static final int SAMPLE_FORMAT_VALUE_TWOS_COMPLEMENT_SIGNED_INTEGER = 2;
-    public static final int SAMPLE_FORMAT_VALUE_IEEE_FLOATING_POINT = 3;
-    public static final int SAMPLE_FORMAT_VALUE_UNDEFINED = 4;
-    public static final int SAMPLE_FORMAT_VALUE_COMPLEX_INTEGER = 5;
-    public static final int SAMPLE_FORMAT_VALUE_IEEE_FLOATING_POINT_1 = 6;
-    public static final TagInfo EXIF_TAG_SMIN_SAMPLE_VALUE = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)) {
+        public static final int SAMPLE_FORMAT_VALUE_UNSIGNED_INTEGER = 1;
+        public static final int SAMPLE_FORMAT_VALUE_TWOS_COMPLEMENT_SIGNED_INTEGER = 2;
+        public static final int SAMPLE_FORMAT_VALUE_IEEE_FLOATING_POINT = 3;
+        public static final int SAMPLE_FORMAT_VALUE_UNDEFINED = 4;
+        public static final int SAMPLE_FORMAT_VALUE_COMPLEX_INTEGER = 5;
+        public static final int SAMPLE_FORMAT_VALUE_IEEE_FLOATING_POINT_1 = 6;
+    },
+    SMIN_SAMPLE_VALUE(new TagInfo(
             "SMin Sample Value", 0x0154, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_SMAX_SAMPLE_VALUE = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    SMAX_SAMPLE_VALUE(new TagInfo(
             "SMax Sample Value", 0x0155, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_TRANSFER_RANGE = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    TRANSFER_RANGE(new TagInfo(
             "Transfer Range", 0x0156, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_CLIP_PATH = new TagInfo("Clip Path",
-            0x0157, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_XCLIP_PATH_UNITS = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    CLIP_PATH(new TagInfo("Clip Path",
+            0x0157, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    XCLIP_PATH_UNITS(new TagInfo(
             "XClip Path Units", 0x0158, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_YCLIP_PATH_UNITS = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    YCLIP_PATH_UNITS(new TagInfo(
             "YClip Path Units", 0x0159, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_INDEXED = new TagInfo("Indexed",
-            0x015a, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    // tag constants public static final int INDEXED_VALUE_NOT_INDEXED = 0;
-    public static final int INDEXED_VALUE_INDEXED = 1;
-    public static final TagInfo EXIF_TAG_JPEGTABLES = new TagInfo("JPEGTables",
-            0x015b, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_OPIPROXY = new TagInfo("OPIProxy",
-            0x015f, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    // tag constants public static final int OPIPROXY_VALUE_HIGHER_RESOLUTION_IMAGE_DOES_NOT_EXIST = 0;
-    public static final int OPIPROXY_VALUE_HIGHER_RESOLUTION_IMAGE_EXISTS = 1;
-    public static final TagInfo EXIF_TAG_GLOBAL_PARAMETERS_IFD = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    INDEXED(new TagInfo("Indexed",
+            0x015a, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)) {
+        public static final int INDEXED_VALUE_NOT_INDEXED = 0;
+        public static final int INDEXED_VALUE_INDEXED = 1;
+    },
+    JPEGTABLES(new TagInfo("JPEGTables",
+            0x015b, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    OPIPROXY(new TagInfo("OPIProxy",
+            0x015f, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)) {
+        public static final int OPIPROXY_VALUE_HIGHER_RESOLUTION_IMAGE_DOES_NOT_EXIST = 0;
+        public static final int OPIPROXY_VALUE_HIGHER_RESOLUTION_IMAGE_EXISTS = 1;
+    },
+    GLOBAL_PARAMETERS_IFD(new TagInfo(
             "Global Parameters IFD", 0x0190, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_PROFILE_TYPE = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    PROFILE_TYPE(new TagInfo(
             "Profile Type", 0x0191, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    // tag constants public static final int PROFILE_TYPE_VALUE_UNSPECIFIED = 0;
-    public static final int PROFILE_TYPE_VALUE_GROUP_3_FAX = 1;
-    public static final TagInfo EXIF_TAG_FAX_PROFILE = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)) {
+        public static final int PROFILE_TYPE_VALUE_UNSPECIFIED = 0;
+        public static final int PROFILE_TYPE_VALUE_GROUP_3_FAX = 1;
+    },
+    FAX_PROFILE(new TagInfo(
             "Fax Profile", 0x0192, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    // tag constants public static final int FAX_PROFILE_VALUE_UNKNOWN = 0;
-    public static final int FAX_PROFILE_VALUE_MINIMAL_B_AND_W_LOSSLESS_S = 1;
-    public static final int FAX_PROFILE_VALUE_EXTENDED_B_AND_W_LOSSLESS_F = 2;
-    public static final int FAX_PROFILE_VALUE_LOSSLESS_JBIG_B_AND_W_J = 3;
-    public static final int FAX_PROFILE_VALUE_LOSSY_COLOR_AND_GRAYSCALE_C = 4;
-    public static final int FAX_PROFILE_VALUE_LOSSLESS_COLOR_AND_GRAYSCALE_L = 5;
-    public static final int FAX_PROFILE_VALUE_MIXED_RASTER_CONTENT_M = 6;
-    public static final TagInfo EXIF_TAG_CODING_METHODS = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)) {
+        public static final int FAX_PROFILE_VALUE_UNKNOWN = 0;
+        public static final int FAX_PROFILE_VALUE_MINIMAL_B_AND_W_LOSSLESS_S = 1;
+        public static final int FAX_PROFILE_VALUE_EXTENDED_B_AND_W_LOSSLESS_F = 2;
+        public static final int FAX_PROFILE_VALUE_LOSSLESS_JBIG_B_AND_W_J = 3;
+        public static final int FAX_PROFILE_VALUE_LOSSY_COLOR_AND_GRAYSCALE_C = 4;
+        public static final int FAX_PROFILE_VALUE_LOSSLESS_COLOR_AND_GRAYSCALE_L = 5;
+        public static final int FAX_PROFILE_VALUE_MIXED_RASTER_CONTENT_M = 6;
+    },
+    CODING_METHODS(new TagInfo(
             "Coding Methods", 0x0193, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_VERSION_YEAR = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    VERSION_YEAR(new TagInfo(
             "Version Year", 0x0194, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_MODE_NUMBER = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    MODE_NUMBER(new TagInfo(
             "Mode Number", 0x0195, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_DECODE = new TagInfo("Decode", 0x01b1,
-            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_DEFAULT_IMAGE_COLOR = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    DECODE(new TagInfo("Decode", 0x01b1,
+            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    DEFAULT_IMAGE_COLOR(new TagInfo(
             "Default Image Color", 0x01b2, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_JPEGPROC = new TagInfo("JPEGProc",
-            0x0200, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    // tag constants public static final int JPEGPROC_VALUE_BASELINE = 1;
-    public static final int JPEGPROC_VALUE_LOSSLESS = 14;
-    // poly tag public static final TagInfo2 EXIF_TAG_THUMBNAIL_OFFSET = new TagInfo2( "ThumbnailOffset", 0x0201, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD1);
-    public static final TagInfo EXIF_TAG_PREVIEW_IMAGE_START_MAKER_NOTES = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    JPEGPROC(new TagInfo("JPEGProc",
+            0x0200, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)) {
+        public static final int JPEGPROC_VALUE_BASELINE = 1;
+        public static final int JPEGPROC_VALUE_LOSSLESS = 14;
+    },
+    // poly tag public static final TagInfo2 THUMBNAIL_OFFSET(new TagInfo2( "ThumbnailOffset", 0x0201, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD1)),
+    PREVIEW_IMAGE_START_MAKER_NOTES(new TagInfo(
             "Preview Image Start", 0x0201, FIELD_TYPE_LONG, 1,
-            EXIF_DIRECTORY_MAKER_NOTES);
-    public static final TagInfo EXIF_TAG_JPG_FROM_RAW_START_SUB_IFD = new TagInfo.Offset(
+            EXIF_DIRECTORY_MAKER_NOTES)),
+    JPG_FROM_RAW_START_SUB_IFD(new TagInfo.Offset(
             "Jpg From Raw Start", 0x0201, FIELD_TYPE_LONG, 1,
-            EXIF_DIRECTORY_SUB_IFD);
-    public static final TagInfo EXIF_TAG_JPG_FROM_RAW_START_IFD2 = new TagInfo.Offset(
+            EXIF_DIRECTORY_SUB_IFD)),
+    JPG_FROM_RAW_START_IFD2(new TagInfo.Offset(
             "Jpg From Raw Start", 0x0201, FIELD_TYPE_LONG, 1,
-            EXIF_DIRECTORY_IFD2);
-    public static final TagInfo EXIF_TAG_OTHER_IMAGE_START = new TagInfo.Offset(
+            EXIF_DIRECTORY_IFD2)),
+    OTHER_IMAGE_START(new TagInfo.Offset(
             "Other Image Start", 0x0201, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    // poly tag public static final TagInfo2 EXIF_TAG_THUMBNAIL_LENGTH = new TagInfo2( "ThumbnailLength", 0x0202, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD1);
-    public static final TagInfo EXIF_TAG_PREVIEW_IMAGE_LENGTH_MAKER_NOTES = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    // poly tag public static final TagInfo2 THUMBNAIL_LENGTH(new TagInfo2( "ThumbnailLength", 0x0202, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD1)),
+    PREVIEW_IMAGE_LENGTH_MAKER_NOTES(new TagInfo(
             "Preview Image Length", 0x0202, FIELD_TYPE_LONG, 1,
-            EXIF_DIRECTORY_MAKER_NOTES);
-    public static final TagInfo EXIF_TAG_JPG_FROM_RAW_LENGTH_SUB_IFD = new TagInfo(
+            EXIF_DIRECTORY_MAKER_NOTES)),
+    JPG_FROM_RAW_LENGTH_SUB_IFD(new TagInfo(
             "Jpg From Raw Length", 0x0202, FIELD_TYPE_LONG, 1,
-            EXIF_DIRECTORY_SUB_IFD);
-    public static final TagInfo EXIF_TAG_JPG_FROM_RAW_LENGTH_IFD2 = new TagInfo(
+            EXIF_DIRECTORY_SUB_IFD)),
+    JPG_FROM_RAW_LENGTH_IFD2(new TagInfo(
             "Jpg From Raw Length", 0x0202, FIELD_TYPE_LONG, 1,
-            EXIF_DIRECTORY_IFD2);
-    public static final TagInfo EXIF_TAG_OTHER_IMAGE_LENGTH = new TagInfo(
+            EXIF_DIRECTORY_IFD2)),
+    OTHER_IMAGE_LENGTH(new TagInfo(
             "Other Image Length", 0x0202, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_JPEGRESTART_INTERVAL = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    JPEGRESTART_INTERVAL(new TagInfo(
             "JPEGRestart Interval", 0x0203, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_JPEGLOSSLESS_PREDICTORS = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    JPEGLOSSLESS_PREDICTORS(new TagInfo(
             "JPEGLossless Predictors", 0x0205, FIELD_TYPE_DESCRIPTION_UNKNOWN,
-            1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_JPEGPOINT_TRANSFORMS = new TagInfo(
+            1, EXIF_DIRECTORY_UNKNOWN)),
+    JPEGPOINT_TRANSFORMS(new TagInfo(
             "JPEGPoint Transforms", 0x0206, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_JPEGQTABLES = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    JPEGQTABLES(new TagInfo(
             "JPEGQTables", 0x0207, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_JPEGDCTABLES = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    JPEGDCTABLES(new TagInfo(
             "JPEGDCTables", 0x0208, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_JPEGACTABLES = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    JPEGACTABLES(new TagInfo(
             "JPEGACTables", 0x0209, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_YCBCR_COEFFICIENTS = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    YCBCR_COEFFICIENTS(new TagInfo(
             "YCbCr Coefficients", 0x0211, FIELD_TYPE_RATIONAL, 3,
-            EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_YCBCR_SUB_SAMPLING = new TagInfo(
+            EXIF_DIRECTORY_IFD0)),
+    YCBCR_SUB_SAMPLING(new TagInfo(
             "YCbCr Sub Sampling", 0x0212, FIELD_TYPE_SHORT, 2,
-            EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_YCBCR_POSITIONING = new TagInfo(
+            EXIF_DIRECTORY_IFD0)),
+    YCBCR_POSITIONING(new TagInfo(
             "YCbCr Positioning", 0x0213, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_IFD0);
-    // tag constants public static final int YCB_CR_POSITIONING_VALUE_CENTERED = 1;
-    public static final int YCB_CR_POSITIONING_VALUE_CO_SITED = 2;
-    public static final TagInfo EXIF_TAG_REFERENCE_BLACK_WHITE = new TagInfo(
+            EXIF_DIRECTORY_IFD0)) {
+        public static final int YCB_CR_POSITIONING_VALUE_CENTERED = 1;
+        public static final int YCB_CR_POSITIONING_VALUE_CO_SITED = 2;
+    },
+    REFERENCE_BLACK_WHITE(new TagInfo(
             "Reference Black White", 0x0214, FIELD_TYPE_RATIONAL, 6,
-            EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_STRIP_ROW_COUNTS = new TagInfo(
+            EXIF_DIRECTORY_IFD0)),
+    STRIP_ROW_COUNTS(new TagInfo(
             "Strip Row Counts", 0x022f, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_APPLICATION_NOTES = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    APPLICATION_NOTES(new TagInfo(
             "Application Notes", 0x02bc, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_RELATED_IMAGE_FILE_FORMAT = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    RELATED_IMAGE_FILE_FORMAT(new TagInfo(
             "Related Image File Format", 0x1000, FIELD_TYPE_ASCII, 1,
-            EXIF_DIRECTORY_INTEROP_IFD);
-    public static final TagInfo EXIF_TAG_RELATED_IMAGE_WIDTH = new TagInfo(
+            EXIF_DIRECTORY_INTEROP_IFD)),
+    RELATED_IMAGE_WIDTH(new TagInfo(
             "Related Image Width", 0x1001, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_INTEROP_IFD);
-    public static final TagInfo EXIF_TAG_RELATED_IMAGE_LENGTH = new TagInfo(
+            EXIF_DIRECTORY_INTEROP_IFD)),
+    RELATED_IMAGE_LENGTH(new TagInfo(
             "Related Image Length", 0x1002, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_INTEROP_IFD);
-    public static final TagInfo EXIF_TAG_RATING = new TagInfo("Rating", 0x4746,
-            FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_RATING_PERCENT = new TagInfo(
-            "Rating Percent", 0x4749, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_IMAGE_ID = new TagInfo("Image ID",
-            0x800d, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_WANG_ANNOTATION = new TagInfo(
+            EXIF_DIRECTORY_INTEROP_IFD)),
+    RATING(new TagInfo("Rating", 0x4746,
+            FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0)),
+    RATING_PERCENT(new TagInfo(
+            "Rating Percent", 0x4749, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_IFD0)),
+    IMAGE_ID(new TagInfo("Image ID",
+            0x800d, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    WANG_ANNOTATION(new TagInfo(
             "Wang Annotation", 0x80a4, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_MATTEING = new TagInfo("Matteing",
-            0x80e3, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_DATA_TYPE = new TagInfo("Data Type",
-            0x80e4, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_IMAGE_DEPTH = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    MATTEING(new TagInfo("Matteing",
+            0x80e3, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    DATA_TYPE(new TagInfo("Data Type",
+            0x80e4, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    IMAGE_DEPTH(new TagInfo(
             "Image Depth", 0x80e5, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_TILE_DEPTH = new TagInfo("Tile Depth",
-            0x80e6, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_MODEL_2 = new TagInfo("Model 2",
-            0x827d, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_CFAREPEAT_PATTERN_DIM = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    TILE_DEPTH(new TagInfo("Tile Depth",
+            0x80e6, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    MODEL_2(new TagInfo("Model 2",
+            0x827d, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    CFAREPEAT_PATTERN_DIM(new TagInfo(
             "CFARepeat Pattern Dim", 0x828d, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_CFAPATTERN_2 = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    CFAPATTERN_2(new TagInfo(
             "CFAPattern 2", 0x828e, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_BATTERY_LEVEL = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    BATTERY_LEVEL(new TagInfo(
             "Battery Level", 0x828f, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_COPYRIGHT = new TagInfo("Copyright",
-            0x8298, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_EXPOSURE_TIME = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    COPYRIGHT(new TagInfo("Copyright",
+            0x8298, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0)),
+    EXPOSURE_TIME(new TagInfo(
             "Exposure Time", 0x829a, FIELD_TYPE_RATIONAL, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_FNUMBER = new TagInfo("FNumber",
-            0x829d, FIELD_TYPE_RATIONAL, 1, EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_MDFILE_TAG = new TagInfo("MDFile Tag",
-            0x82a5, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_MDSCALE_PIXEL = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    FNUMBER(new TagInfo("FNumber",
+            0x829d, FIELD_TYPE_RATIONAL, 1, EXIF_DIRECTORY_EXIF_IFD)),
+    MDFILE_TAG(new TagInfo("MDFile Tag",
+            0x82a5, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    MDSCALE_PIXEL(new TagInfo(
             "MDScale Pixel", 0x82a6, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_MDCOLOR_TABLE = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    MDCOLOR_TABLE(new TagInfo(
             "MDColor Table", 0x82a7, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_MDLAB_NAME = new TagInfo("MDLab Name",
-            0x82a8, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_MDSAMPLE_INFO = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    MDLAB_NAME(new TagInfo("MDLab Name",
+            0x82a8, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    MDSAMPLE_INFO(new TagInfo(
             "MDSample Info", 0x82a9, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_MDPREP_DATE = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    MDPREP_DATE(new TagInfo(
             "MDPrep Date", 0x82aa, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_MDPREP_TIME = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    MDPREP_TIME(new TagInfo(
             "MDPrep Time", 0x82ab, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_MDFILE_UNITS = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    MDFILE_UNITS(new TagInfo(
             "MDFile Units", 0x82ac, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_PIXEL_SCALE = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    PIXEL_SCALE(new TagInfo(
             "Pixel Scale", 0x830e, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_IPTC_NAA = new TagInfo("IPTC- NAA",
-            0x83bb, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_INTERGRAPH_PACKET_DATA = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    IPTC_NAA(new TagInfo("IPTC- NAA",
+            0x83bb, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_IFD0)),
+    INTERGRAPH_PACKET_DATA(new TagInfo(
             "Intergraph Packet Data", 0x847e, FIELD_TYPE_DESCRIPTION_UNKNOWN,
-            1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_INTERGRAPH_FLAG_REGISTERS = new TagInfo(
+            1, EXIF_DIRECTORY_UNKNOWN)),
+    INTERGRAPH_FLAG_REGISTERS(new TagInfo(
             "Intergraph Flag Registers", 0x847f,
-            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_INTERGRAPH_MATRIX = new TagInfo(
+            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    INTERGRAPH_MATRIX(new TagInfo(
             "Intergraph Matrix", 0x8480, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_MODEL_TIE_POINT = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    MODEL_TIE_POINT(new TagInfo(
             "Model Tie Point", 0x8482, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_SITE = new TagInfo("Site", 0x84e0,
-            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_COLOR_SEQUENCE = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    SITE(new TagInfo("Site", 0x84e0,
+            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    COLOR_SEQUENCE(new TagInfo(
             "Color Sequence", 0x84e1, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_IT8HEADER = new TagInfo("IT8 Header",
-            0x84e2, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_RASTER_PADDING = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    IT8HEADER(new TagInfo("IT8 Header",
+            0x84e2, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    RASTER_PADDING(new TagInfo(
             "Raster Padding", 0x84e3, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_BITS_PER_RUN_LENGTH = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    BITS_PER_RUN_LENGTH(new TagInfo(
             "Bits Per Run Length", 0x84e4, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_BITS_PER_EXTENDED_RUN_LENGTH = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    BITS_PER_EXTENDED_RUN_LENGTH(new TagInfo(
             "Bits Per Extended Run Length", 0x84e5,
-            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_COLOR_TABLE = new TagInfo(
+            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    COLOR_TABLE(new TagInfo(
             "Color Table", 0x84e6, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_IMAGE_COLOR_INDICATOR = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    IMAGE_COLOR_INDICATOR(new TagInfo(
             "Image Color Indicator", 0x84e7, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_BACKGROUND_COLOR_INDICATOR = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    BACKGROUND_COLOR_INDICATOR(new TagInfo(
             "Background Color Indicator", 0x84e8,
-            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_IMAGE_COLOR_VALUE = new TagInfo(
+            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    IMAGE_COLOR_VALUE(new TagInfo(
             "Image Color Value", 0x84e9, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_BACKGROUND_COLOR_VALUE = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    BACKGROUND_COLOR_VALUE(new TagInfo(
             "Background Color Value", 0x84ea, FIELD_TYPE_DESCRIPTION_UNKNOWN,
-            1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_PIXEL_INTENSITY_RANGE = new TagInfo(
+            1, EXIF_DIRECTORY_UNKNOWN)),
+    PIXEL_INTENSITY_RANGE(new TagInfo(
             "Pixel Intensity Range", 0x84eb, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_TRANSPARENCY_INDICATOR = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    TRANSPARENCY_INDICATOR(new TagInfo(
             "Transparency Indicator", 0x84ec, FIELD_TYPE_DESCRIPTION_UNKNOWN,
-            1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_COLOR_CHARACTERIZATION = new TagInfo(
+            1, EXIF_DIRECTORY_UNKNOWN)),
+    COLOR_CHARACTERIZATION(new TagInfo(
             "Color Characterization", 0x84ed, FIELD_TYPE_DESCRIPTION_UNKNOWN,
-            1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_HCUSAGE = new TagInfo("HCUsage",
-            0x84ee, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_SEMINFO = new TagInfo("SEMInfo",
-            0x8546, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_AFCP_IPTC = new TagInfo("AFCP_ IPTC",
-            0x8568, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_MODEL_TRANSFORM = new TagInfo(
+            1, EXIF_DIRECTORY_UNKNOWN)),
+    HCUSAGE(new TagInfo("HCUsage",
+            0x84ee, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    SEMINFO(new TagInfo("SEMInfo",
+            0x8546, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_IFD0)),
+    AFCP_IPTC(new TagInfo("AFCP_ IPTC",
+            0x8568, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    MODEL_TRANSFORM(new TagInfo(
             "Model Transform", 0x85d8, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_LEAF_DATA = new TagInfo("Leaf Data",
-            0x8606, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_PHOTOSHOP_SETTINGS = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    LEAF_DATA(new TagInfo("Leaf Data",
+            0x8606, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    PHOTOSHOP_SETTINGS(new TagInfo(
             "Photoshop Settings", 0x8649, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_EXIF_OFFSET = new TagInfo.Offset(
+            EXIF_DIRECTORY_UNKNOWN)),
+    EXIF_OFFSET(new TagInfo.Offset(
             "Exif Offset", 0x8769, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_ICC_PROFILE = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    ICC_PROFILE(new TagInfo(
             "ICC_ Profile", 0x8773, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_IMAGE_LAYER = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    IMAGE_LAYER(new TagInfo(
             "Image Layer", 0x87ac, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_GEO_TIFF_DIRECTORY = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    GEO_TIFF_DIRECTORY(new TagInfo(
             "Geo Tiff Directory", 0x87af, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_GEO_TIFF_DOUBLE_PARAMS = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    GEO_TIFF_DOUBLE_PARAMS(new TagInfo(
             "Geo Tiff Double Params", 0x87b0, FIELD_TYPE_DESCRIPTION_UNKNOWN,
-            1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_GEO_TIFF_ASCII_PARAMS = new TagInfo(
+            1, EXIF_DIRECTORY_UNKNOWN)),
+    GEO_TIFF_ASCII_PARAMS(new TagInfo(
             "Geo Tiff Ascii Params", 0x87b1, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_EXPOSURE_PROGRAM = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    EXPOSURE_PROGRAM(new TagInfo(
             "Exposure Program", 0x8822, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    // tag constants public static final int EXPOSURE_PROGRAM_VALUE_MANUAL = 1;
-    public static final int EXPOSURE_PROGRAM_VALUE_PROGRAM_AE = 2;
-    public static final int EXPOSURE_PROGRAM_VALUE_APERTURE_PRIORITY_AE = 3;
-    public static final int EXPOSURE_PROGRAM_VALUE_SHUTTER_SPEED_PRIORITY_AE = 4;
-    public static final int EXPOSURE_PROGRAM_VALUE_CREATIVE_SLOW_SPEED = 5;
-    public static final int EXPOSURE_PROGRAM_VALUE_ACTION_HIGH_SPEED = 6;
-    public static final int EXPOSURE_PROGRAM_VALUE_PORTRAIT = 7;
-    public static final int EXPOSURE_PROGRAM_VALUE_LANDSCAPE = 8;
-    public static final TagInfo EXIF_TAG_SPECTRAL_SENSITIVITY = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)) {
+        public static final int EXPOSURE_PROGRAM_VALUE_MANUAL = 1;
+        public static final int EXPOSURE_PROGRAM_VALUE_PROGRAM_AE = 2;
+        public static final int EXPOSURE_PROGRAM_VALUE_APERTURE_PRIORITY_AE = 3;
+        public static final int EXPOSURE_PROGRAM_VALUE_SHUTTER_SPEED_PRIORITY_AE = 4;
+        public static final int EXPOSURE_PROGRAM_VALUE_CREATIVE_SLOW_SPEED = 5;
+        public static final int EXPOSURE_PROGRAM_VALUE_ACTION_HIGH_SPEED = 6;
+        public static final int EXPOSURE_PROGRAM_VALUE_PORTRAIT = 7;
+        public static final int EXPOSURE_PROGRAM_VALUE_LANDSCAPE = 8;
+    },
+    SPECTRAL_SENSITIVITY(new TagInfo(
             "Spectral Sensitivity", 0x8824, FIELD_TYPE_ASCII, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_GPSINFO = new TagInfo.Offset(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    GPSINFO(new TagInfo.Offset(
             "GPSInfo", 0x8825, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_ISO = new TagInfo("ISO", 0x8827,
-            FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_OPTO__ELECTRIC_CONV_FACTOR = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    ISO(new TagInfo("ISO", 0x8827,
+            FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_EXIF_IFD)),
+    OPTO__ELECTRIC_CONV_FACTOR(new TagInfo(
             "Opto - Electric Conv Factor", 0x8828,
-            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_INTERLACE = new TagInfo("Interlace",
-            0x8829, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_TIME_ZONE_OFFSET = new TagInfo(
+            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    INTERLACE(new TagInfo("Interlace",
+            0x8829, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    TIME_ZONE_OFFSET(new TagInfo(
             "Time Zone Offset", 0x882a, FIELD_TYPE_SSHORT, -1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_SELF_TIMER_MODE = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    SELF_TIMER_MODE(new TagInfo(
             "Self Timer Mode", 0x882b, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_FAX_RECV_PARAMS = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    FAX_RECV_PARAMS(new TagInfo(
             "Fax Recv Params", 0x885c, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_FAX_SUB_ADDRESS = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    FAX_SUB_ADDRESS(new TagInfo(
             "Fax Sub Address", 0x885d, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_FAX_RECV_TIME = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    FAX_RECV_TIME(new TagInfo(
             "Fax Recv Time", 0x885e, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_LEAF_SUB_IFD = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    LEAF_SUB_IFD(new TagInfo(
             "Leaf Sub IFD", 0x888a, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_EXIF_VERSION = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    EXIF_VERSION(new TagInfo(
             "Exif Version", 0x9000, FIELD_TYPE_UNDEFINED, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_DATE_TIME_ORIGINAL = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    DATE_TIME_ORIGINAL(new TagInfo(
             "Date Time Original", 0x9003, FIELD_TYPE_ASCII, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_CREATE_DATE = new TagInfo(
-            "Create Date", 0x9004, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_COMPONENTS_CONFIGURATION = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    CREATE_DATE(new TagInfo(
+            "Create Date", 0x9004, FIELD_TYPE_ASCII, 1, EXIF_DIRECTORY_EXIF_IFD)),
+    COMPONENTS_CONFIGURATION(new TagInfo(
             "Components Configuration", 0x9101, FIELD_TYPE_UNDEFINED, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_COMPRESSED_BITS_PER_PIXEL = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    COMPRESSED_BITS_PER_PIXEL(new TagInfo(
             "Compressed Bits Per Pixel", 0x9102, FIELD_TYPE_RATIONAL, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_SHUTTER_SPEED_VALUE = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    SHUTTER_SPEED_VALUE(new TagInfo(
             "Shutter Speed Value", 0x9201, FIELD_TYPE_SRATIONAL, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_APERTURE_VALUE = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    APERTURE_VALUE(new TagInfo(
             "Aperture Value", 0x9202, FIELD_TYPE_RATIONAL, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_BRIGHTNESS_VALUE = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    BRIGHTNESS_VALUE(new TagInfo(
             "Brightness Value", 0x9203, FIELD_TYPE_SRATIONAL, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_EXPOSURE_COMPENSATION = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    EXPOSURE_COMPENSATION(new TagInfo(
             "Exposure Compensation", 0x9204, FIELD_TYPE_SRATIONAL, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_MAX_APERTURE_VALUE = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    MAX_APERTURE_VALUE(new TagInfo(
             "Max Aperture Value", 0x9205, FIELD_TYPE_RATIONAL, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_SUBJECT_DISTANCE = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    SUBJECT_DISTANCE(new TagInfo(
             "Subject Distance", 0x9206, FIELD_TYPE_RATIONAL, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_METERING_MODE = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    METERING_MODE(new TagInfo(
             "Metering Mode", 0x9207, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    // tag constants public static final int METERING_MODE_VALUE_AVERAGE = 1;
-    public static final int METERING_MODE_VALUE_CENTER_WEIGHTED_AVERAGE = 2;
-    public static final int METERING_MODE_VALUE_SPOT = 3;
-    public static final int METERING_MODE_VALUE_MULTI_SPOT = 4;
-    public static final int METERING_MODE_VALUE_MULTI_SEGMENT = 5;
-    public static final int METERING_MODE_VALUE_PARTIAL = 6;
-    public static final int METERING_MODE_VALUE_OTHER = 255;
-    public static final TagInfo EXIF_TAG_LIGHT_SOURCE = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)) {
+        public static final int METERING_MODE_VALUE_AVERAGE = 1;
+        public static final int METERING_MODE_VALUE_CENTER_WEIGHTED_AVERAGE = 2;
+        public static final int METERING_MODE_VALUE_SPOT = 3;
+        public static final int METERING_MODE_VALUE_MULTI_SPOT = 4;
+        public static final int METERING_MODE_VALUE_MULTI_SEGMENT = 5;
+        public static final int METERING_MODE_VALUE_PARTIAL = 6;
+        public static final int METERING_MODE_VALUE_OTHER = 255;
+    },
+    LIGHT_SOURCE(new TagInfo(
             "Light Source", 0x9208, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    // tag constants public static final int LIGHT_SOURCE_VALUE_DAYLIGHT = 1;
-    public static final int LIGHT_SOURCE_VALUE_FLUORESCENT = 2;
-    public static final int LIGHT_SOURCE_VALUE_TUNGSTEN = 3;
-    public static final int LIGHT_SOURCE_VALUE_FLASH = 4;
-    public static final int LIGHT_SOURCE_VALUE_FINE_WEATHER = 9;
-    public static final int LIGHT_SOURCE_VALUE_CLOUDY = 10;
-    public static final int LIGHT_SOURCE_VALUE_SHADE = 11;
-    public static final int LIGHT_SOURCE_VALUE_DAYLIGHT_FLUORESCENT = 12;
-    public static final int LIGHT_SOURCE_VALUE_DAY_WHITE_FLUORESCENT = 13;
-    public static final int LIGHT_SOURCE_VALUE_COOL_WHITE_FLUORESCENT = 14;
-    public static final int LIGHT_SOURCE_VALUE_WHITE_FLUORESCENT = 15;
-    public static final int LIGHT_SOURCE_VALUE_STANDARD_LIGHT_A = 17;
-    public static final int LIGHT_SOURCE_VALUE_STANDARD_LIGHT_B = 18;
-    public static final int LIGHT_SOURCE_VALUE_STANDARD_LIGHT_C = 19;
-    public static final int LIGHT_SOURCE_VALUE_D55 = 20;
-    public static final int LIGHT_SOURCE_VALUE_D65 = 21;
-    public static final int LIGHT_SOURCE_VALUE_D75 = 22;
-    public static final int LIGHT_SOURCE_VALUE_D50 = 23;
-    public static final int LIGHT_SOURCE_VALUE_ISO_STUDIO_TUNGSTEN = 24;
-    public static final int LIGHT_SOURCE_VALUE_OTHER = 255;
-    public static final TagInfo EXIF_TAG_FLASH = new TagInfo("Flash", 0x9209,
-            FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_EXIF_IFD);
-    // tag constants public static final int FLASH_VALUE_NO_FLASH = 0x0;
-    public static final int FLASH_VALUE_FIRED = 0x1;
-    public static final int FLASH_VALUE_FIRED_RETURN_NOT_DETECTED = 0x5;
-    public static final int FLASH_VALUE_FIRED_RETURN_DETECTED = 0x7;
-    public static final int FLASH_VALUE_ON_DID_NOT_FIRE = 0x8;
-    public static final int FLASH_VALUE_ON = 0x9;
-    public static final int FLASH_VALUE_ON_RETURN_NOT_DETECTED = 0xd;
-    public static final int FLASH_VALUE_ON_RETURN_DETECTED = 0xf;
-    public static final int FLASH_VALUE_OFF = 0x10;
-    public static final int FLASH_VALUE_OFF_DID_NOT_FIRE_RETURN_NOT_DETECTED = 0x14;
-    public static final int FLASH_VALUE_AUTO_DID_NOT_FIRE = 0x18;
-    public static final int FLASH_VALUE_AUTO_FIRED = 0x19;
-    public static final int FLASH_VALUE_AUTO_FIRED_RETURN_NOT_DETECTED = 0x1d;
-    public static final int FLASH_VALUE_AUTO_FIRED_RETURN_DETECTED = 0x1f;
-    public static final int FLASH_VALUE_NO_FLASH_FUNCTION = 0x20;
-    public static final int FLASH_VALUE_OFF_NO_FLASH_FUNCTION = 0x30;
-    public static final int FLASH_VALUE_FIRED_RED_EYE_REDUCTION = 0x41;
-    public static final int FLASH_VALUE_FIRED_RED_EYE_REDUCTION_RETURN_NOT_DETECTED = 0x45;
-    public static final int FLASH_VALUE_FIRED_RED_EYE_REDUCTION_RETURN_DETECTED = 0x47;
-    public static final int FLASH_VALUE_ON_RED_EYE_REDUCTION = 0x49;
-    public static final int FLASH_VALUE_ON_RED_EYE_REDUCTION_RETURN_NOT_DETECTED = 0x4d;
-    public static final int FLASH_VALUE_ON_RED_EYE_REDUCTION_RETURN_DETECTED = 0x4f;
-    public static final int FLASH_VALUE_OFF_RED_EYE_REDUCTION = 0x50;
-    public static final int FLASH_VALUE_AUTO_DID_NOT_FIRE_RED_EYE_REDUCTION = 0x58;
-    public static final int FLASH_VALUE_AUTO_FIRED_RED_EYE_REDUCTION = 0x59;
-    public static final int FLASH_VALUE_AUTO_FIRED_RED_EYE_REDUCTION_RETURN_NOT_DETECTED = 0x5d;
-    public static final int FLASH_VALUE_AUTO_FIRED_RED_EYE_REDUCTION_RETURN_DETECTED = 0x5f;
-    public static final TagInfo EXIF_TAG_FOCAL_LENGTH = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)) {
+        public static final int LIGHT_SOURCE_VALUE_DAYLIGHT = 1;
+        public static final int LIGHT_SOURCE_VALUE_FLUORESCENT = 2;
+        public static final int LIGHT_SOURCE_VALUE_TUNGSTEN = 3;
+        public static final int LIGHT_SOURCE_VALUE_FLASH = 4;
+        public static final int LIGHT_SOURCE_VALUE_FINE_WEATHER = 9;
+        public static final int LIGHT_SOURCE_VALUE_CLOUDY = 10;
+        public static final int LIGHT_SOURCE_VALUE_SHADE = 11;
+        public static final int LIGHT_SOURCE_VALUE_DAYLIGHT_FLUORESCENT = 12;
+        public static final int LIGHT_SOURCE_VALUE_DAY_WHITE_FLUORESCENT = 13;
+        public static final int LIGHT_SOURCE_VALUE_COOL_WHITE_FLUORESCENT = 14;
+        public static final int LIGHT_SOURCE_VALUE_WHITE_FLUORESCENT = 15;
+        public static final int LIGHT_SOURCE_VALUE_STANDARD_LIGHT_A = 17;
+        public static final int LIGHT_SOURCE_VALUE_STANDARD_LIGHT_B = 18;
+        public static final int LIGHT_SOURCE_VALUE_STANDARD_LIGHT_C = 19;
+        public static final int LIGHT_SOURCE_VALUE_D55 = 20;
+        public static final int LIGHT_SOURCE_VALUE_D65 = 21;
+        public static final int LIGHT_SOURCE_VALUE_D75 = 22;
+        public static final int LIGHT_SOURCE_VALUE_D50 = 23;
+        public static final int LIGHT_SOURCE_VALUE_ISO_STUDIO_TUNGSTEN = 24;
+        public static final int LIGHT_SOURCE_VALUE_OTHER = 255;
+    },
+    FLASH(new TagInfo("Flash", 0x9209,
+            FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_EXIF_IFD)) {
+        public static final int FLASH_VALUE_NO_FLASH = 0x0;
+        public static final int FLASH_VALUE_FIRED = 0x1;
+        public static final int FLASH_VALUE_FIRED_RETURN_NOT_DETECTED = 0x5;
+        public static final int FLASH_VALUE_FIRED_RETURN_DETECTED = 0x7;
+        public static final int FLASH_VALUE_ON_DID_NOT_FIRE = 0x8;
+        public static final int FLASH_VALUE_ON = 0x9;
+        public static final int FLASH_VALUE_ON_RETURN_NOT_DETECTED = 0xd;
+        public static final int FLASH_VALUE_ON_RETURN_DETECTED = 0xf;
+        public static final int FLASH_VALUE_OFF = 0x10;
+        public static final int FLASH_VALUE_OFF_DID_NOT_FIRE_RETURN_NOT_DETECTED = 0x14;
+        public static final int FLASH_VALUE_AUTO_DID_NOT_FIRE = 0x18;
+        public static final int FLASH_VALUE_AUTO_FIRED = 0x19;
+        public static final int FLASH_VALUE_AUTO_FIRED_RETURN_NOT_DETECTED = 0x1d;
+        public static final int FLASH_VALUE_AUTO_FIRED_RETURN_DETECTED = 0x1f;
+        public static final int FLASH_VALUE_NO_FLASH_FUNCTION = 0x20;
+        public static final int FLASH_VALUE_OFF_NO_FLASH_FUNCTION = 0x30;
+        public static final int FLASH_VALUE_FIRED_RED_EYE_REDUCTION = 0x41;
+        public static final int FLASH_VALUE_FIRED_RED_EYE_REDUCTION_RETURN_NOT_DETECTED = 0x45;
+        public static final int FLASH_VALUE_FIRED_RED_EYE_REDUCTION_RETURN_DETECTED = 0x47;
+        public static final int FLASH_VALUE_ON_RED_EYE_REDUCTION = 0x49;
+        public static final int FLASH_VALUE_ON_RED_EYE_REDUCTION_RETURN_NOT_DETECTED = 0x4d;
+        public static final int FLASH_VALUE_ON_RED_EYE_REDUCTION_RETURN_DETECTED = 0x4f;
+        public static final int FLASH_VALUE_OFF_RED_EYE_REDUCTION = 0x50;
+        public static final int FLASH_VALUE_AUTO_DID_NOT_FIRE_RED_EYE_REDUCTION = 0x58;
+        public static final int FLASH_VALUE_AUTO_FIRED_RED_EYE_REDUCTION = 0x59;
+        public static final int FLASH_VALUE_AUTO_FIRED_RED_EYE_REDUCTION_RETURN_NOT_DETECTED = 0x5d;
+        public static final int FLASH_VALUE_AUTO_FIRED_RED_EYE_REDUCTION_RETURN_DETECTED = 0x5f;
+    },
+    FOCAL_LENGTH(new TagInfo(
             "Focal Length", 0x920a, FIELD_TYPE_RATIONAL, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_FLASH_ENERGY = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    FLASH_ENERGY(new TagInfo(
             "Flash Energy", 0x920b, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_SPATIAL_FREQUENCY_RESPONSE_1 = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    SPATIAL_FREQUENCY_RESPONSE_1(new TagInfo(
             "Spatial Frequency Response", 0x920c,
-            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_NOISE_1 = new TagInfo("Noise", 0x920d,
-            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_FOCAL_PLANE_XRESOLUTION = new TagInfo(
+            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    NOISE_1(new TagInfo("Noise", 0x920d,
+            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    FOCAL_PLANE_XRESOLUTION(new TagInfo(
             "Focal Plane XResolution", 0x920e, FIELD_TYPE_DESCRIPTION_UNKNOWN,
-            1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_FOCAL_PLANE_YRESOLUTION = new TagInfo(
+            1, EXIF_DIRECTORY_UNKNOWN)),
+    FOCAL_PLANE_YRESOLUTION(new TagInfo(
             "Focal Plane YResolution", 0x920f, FIELD_TYPE_DESCRIPTION_UNKNOWN,
-            1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_FOCAL_PLANE_RESOLUTION_UNIT = new TagInfo(
+            1, EXIF_DIRECTORY_UNKNOWN)),
+    FOCAL_PLANE_RESOLUTION_UNIT(new TagInfo(
             "Focal Plane Resolution Unit", 0x9210,
-            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    // tag constants public static final int FOCAL_PLANE_RESOLUTION_UNIT_VALUE_NONE = 1;
-    public static final int FOCAL_PLANE_RESOLUTION_UNIT_VALUE_INCHES = 2;
-    public static final int FOCAL_PLANE_RESOLUTION_UNIT_VALUE_CM = 3;
-    public static final int FOCAL_PLANE_RESOLUTION_UNIT_VALUE_MM = 4;
-    public static final int FOCAL_PLANE_RESOLUTION_UNIT_VALUE_UM = 5;
-    public static final TagInfo EXIF_TAG_IMAGE_NUMBER_EXIF_IFD = new TagInfo(
-            "Image Number", 0x9211, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_SECURITY_CLASSIFICATION_EXIF_IFD = new TagInfo(
+            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)) {
+        public static final int FOCAL_PLANE_RESOLUTION_UNIT_VALUE_NONE = 1;
+        public static final int FOCAL_PLANE_RESOLUTION_UNIT_VALUE_INCHES = 2;
+        public static final int FOCAL_PLANE_RESOLUTION_UNIT_VALUE_CM = 3;
+        public static final int FOCAL_PLANE_RESOLUTION_UNIT_VALUE_MM = 4;
+        public static final int FOCAL_PLANE_RESOLUTION_UNIT_VALUE_UM = 5;
+    },
+    IMAGE_NUMBER_EXIF_IFD(new TagInfo(
+            "Image Number", 0x9211, FIELD_TYPE_LONG, 1, EXIF_DIRECTORY_EXIF_IFD)),
+    SECURITY_CLASSIFICATION_EXIF_IFD(new TagInfo(
             "Security Classification", 0x9212, FIELD_TYPE_ASCII, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_IMAGE_HISTORY_EXIF_IFD = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    IMAGE_HISTORY_EXIF_IFD(new TagInfo(
             "Image History", 0x9213, FIELD_TYPE_ASCII, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_SUBJECT_LOCATION_1 = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    SUBJECT_LOCATION_1(new TagInfo(
             "Subject Location", 0x9214, FIELD_TYPE_SHORT, 4,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_EXPOSURE_INDEX = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    EXPOSURE_INDEX(new TagInfo(
             "Exposure Index", 0x9215, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_TIFF_EPSTANDARD_ID_1 = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    TIFF_EPSTANDARD_ID_1(new TagInfo(
             "TIFF- EPStandard ID", 0x9216, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_SENSING_METHOD = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    SENSING_METHOD(new TagInfo(
             "Sensing Method", 0x9217, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    // tag constants public static final int SENSING_METHOD_VALUE_MONOCHROME_AREA = 1;
-    public static final int SENSING_METHOD_VALUE_ONE_CHIP_COLOR_AREA = 2;
-    public static final int SENSING_METHOD_VALUE_TWO_CHIP_COLOR_AREA = 3;
-    public static final int SENSING_METHOD_VALUE_THREE_CHIP_COLOR_AREA = 4;
-    public static final int SENSING_METHOD_VALUE_COLOR_SEQUENTIAL_AREA = 5;
-    public static final int SENSING_METHOD_VALUE_MONOCHROME_LINEAR = 6;
-    public static final int SENSING_METHOD_VALUE_TRILINEAR = 7;
-    public static final int SENSING_METHOD_VALUE_COLOR_SEQUENTIAL_LINEAR = 8;
-    public static final TagInfo EXIF_TAG_STO_NITS = new TagInfo("Sto Nits",
-            0x923f, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
+            EXIF_DIRECTORY_UNKNOWN)) {
+        public static final int SENSING_METHOD_VALUE_MONOCHROME_AREA = 1;
+        public static final int SENSING_METHOD_VALUE_ONE_CHIP_COLOR_AREA = 2;
+        public static final int SENSING_METHOD_VALUE_TWO_CHIP_COLOR_AREA = 3;
+        public static final int SENSING_METHOD_VALUE_THREE_CHIP_COLOR_AREA = 4;
+        public static final int SENSING_METHOD_VALUE_COLOR_SEQUENTIAL_AREA = 5;
+        public static final int SENSING_METHOD_VALUE_MONOCHROME_LINEAR = 6;
+        public static final int SENSING_METHOD_VALUE_TRILINEAR = 7;
+        public static final int SENSING_METHOD_VALUE_COLOR_SEQUENTIAL_LINEAR = 8;
+    },
+    STO_NITS(new TagInfo("Sto Nits",
+            0x923f, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
     //     skipping Maker Note!
-    public static final TagInfo EXIF_TAG_MAKER_NOTE = new TagInfo("Maker Note",
-            0x927c, FIELD_TYPE_UNDEFINED, 1, EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_USER_COMMENT = new TagInfo.Text(
+    MAKER_NOTE(new TagInfo("Maker Note",
+            0x927c, FIELD_TYPE_UNDEFINED, 1, EXIF_DIRECTORY_EXIF_IFD)),
+    USER_COMMENT(new TagInfo.Text(
             "UserComment", 0x9286, FIELD_TYPE_UNDEFINED, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_SUB_SEC_TIME = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    SUB_SEC_TIME(new TagInfo(
             "Sub Sec Time", 0x9290, FIELD_TYPE_ASCII, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_SUB_SEC_TIME_ORIGINAL = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    SUB_SEC_TIME_ORIGINAL(new TagInfo(
             "Sub Sec Time Original", 0x9291, FIELD_TYPE_ASCII, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_SUB_SEC_TIME_DIGITIZED = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    SUB_SEC_TIME_DIGITIZED(new TagInfo(
             "Sub Sec Time Digitized", 0x9292, FIELD_TYPE_ASCII, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_IMAGE_SOURCE_DATA = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    IMAGE_SOURCE_DATA(new TagInfo(
             "Image Source Data", 0x935c, FIELD_TYPE_UNDEFINED, 1,
-            EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_XPTITLE = new TagInfo("XPTitle",
-            0x9c9b, FIELD_TYPE_BYTE, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_XPCOMMENT = new TagInfo("XPComment",
-            0x9c9c, FIELD_TYPE_BYTE, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_XPAUTHOR = new TagInfo("XPAuthor",
-            0x9c9d, FIELD_TYPE_BYTE, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_XPKEYWORDS = new TagInfo("XPKeywords",
-            0x9c9e, FIELD_TYPE_BYTE, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_XPSUBJECT = new TagInfo("XPSubject",
-            0x9c9f, FIELD_TYPE_BYTE, 1, EXIF_DIRECTORY_IFD0);
-    public static final TagInfo EXIF_TAG_FLASHPIX_VERSION = new TagInfo(
+            EXIF_DIRECTORY_IFD0)),
+    XPTITLE(new TagInfo("XPTitle",
+            0x9c9b, FIELD_TYPE_BYTE, 1, EXIF_DIRECTORY_IFD0)),
+    XPCOMMENT(new TagInfo("XPComment",
+            0x9c9c, FIELD_TYPE_BYTE, 1, EXIF_DIRECTORY_IFD0)),
+    XPAUTHOR(new TagInfo("XPAuthor",
+            0x9c9d, FIELD_TYPE_BYTE, 1, EXIF_DIRECTORY_IFD0)),
+    XPKEYWORDS(new TagInfo("XPKeywords",
+            0x9c9e, FIELD_TYPE_BYTE, 1, EXIF_DIRECTORY_IFD0)),
+    XPSUBJECT(new TagInfo("XPSubject",
+            0x9c9f, FIELD_TYPE_BYTE, 1, EXIF_DIRECTORY_IFD0)),
+    FLASHPIX_VERSION(new TagInfo(
             "Flashpix Version", 0xa000, FIELD_TYPE_UNDEFINED, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_COLOR_SPACE = new TagInfo(
-            "Color Space", 0xa001, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_EXIF_IFD);
-    // tag constants public static final int COLOR_SPACE_VALUE_SRGB = 1;
-    public static final int COLOR_SPACE_VALUE_ADOBE_RGB = 2;
-    public static final int COLOR_SPACE_VALUE_UNCALIBRATED = 65535;
-    public static final TagInfo EXIF_TAG_EXIF_IMAGE_WIDTH = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    COLOR_SPACE(new TagInfo(
+            "Color Space", 0xa001, FIELD_TYPE_SHORT, 1, EXIF_DIRECTORY_EXIF_IFD)) {
+        public static final int COLOR_SPACE_VALUE_SRGB = 1;
+        public static final int COLOR_SPACE_VALUE_ADOBE_RGB = 2;
+        public static final int COLOR_SPACE_VALUE_UNCALIBRATED = 65535;
+    },
+    EXIF_IMAGE_WIDTH(new TagInfo(
             "Exif Image Width", 0xa002, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_EXIF_IMAGE_LENGTH = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    EXIF_IMAGE_LENGTH(new TagInfo(
             "Exif Image Length", 0xa003, FIELD_TYPE_SHORT, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_RELATED_SOUND_FILE = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    RELATED_SOUND_FILE(new TagInfo(
             "Related Sound File", 0xa004, FIELD_TYPE_ASCII, 1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_INTEROP_OFFSET = new TagInfo.Offset(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    INTEROP_OFFSET(new TagInfo.Offset(
             "Interop Offset", 0xa005, FIELD_TYPE_DESCRIPTION_UNKNOWN, 1,
-            EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_FLASH_ENERGY_EXIF_IFD = new TagInfo(
+            EXIF_DIRECTORY_UNKNOWN)),
+    FLASH_ENERGY_EXIF_IFD(new TagInfo(
             "Flash Energy", 0xa20b, FIELD_TYPE_RATIONAL, -1,
-            EXIF_DIRECTORY_EXIF_IFD);
-    public static final TagInfo EXIF_TAG_SPATIAL_FREQUENCY_RESPONSE_2 = new TagInfo(
+            EXIF_DIRECTORY_EXIF_IFD)),
+    SPATIAL_FREQUENCY_RESPONSE_2(new TagInfo(
             "Spatial Frequency Response", 0xa20c,
-            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_NOISE_2 = new TagInfo("Noise", 0xa20d,
-            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN);
-    public static final TagInfo EXIF_TAG_FOCAL_PLANE_XRESOLUTION_EXIF_IFD = new TagInfo(
+            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    NOISE_2(new TagInfo("Noise", 0xa20d,
+            FIELD_TYPE_DESCRIPTION_UNKNOWN, 1, EXIF_DIRECTORY_UNKNOWN)),
+    FOCAL_PLANE_XRESOLUTION_EXIF_IFD(new TagInfo(
             "Focal Plane XResolution", 0xa20e, FIELD_TYPE_RATIONAL, 1,
-            EXIF_DIRECTORY_EXIF_IFD);

[... 1085 lines stripped ...]


Mime
View raw message