17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25 package javax.imageio.plugins.tiff;
26
27 import java.util.ArrayList;
28 import java.util.List;
29
30 /**
31 * A class containing the TIFF tags used to reference the Exif and GPS IFDs.
32 * This tag set should be added to the root tag set by means of the
33 * {@link TIFFImageReadParam#addAllowedTagSet(TIFFTagSet)
34 * TIFFImageReadParam.addAllowedTagSet} method if Exif
35 * support is desired.
36 *
37 * @since 1.9
38 */
39 public class ExifParentTIFFTagSet extends TIFFTagSet {
40
41 private static ExifParentTIFFTagSet theInstance = null;
42
43 // 34665 - Exif IFD Pointer (LONG/1)
44 /** Tag pointing to the Exif IFD (type LONG). */
45 public static final int TAG_EXIF_IFD_POINTER = 34665;
46
47 /** Tag pointing to a GPS info IFD (type LONG). */
48 public static final int TAG_GPS_INFO_IFD_POINTER = 34853;
49
50 // To be inserted into parent (root) TIFFTagSet
51 static class ExifIFDPointer extends TIFFTag {
52
53 public ExifIFDPointer() {
54 super("ExifIFDPointer",
55 TAG_EXIF_IFD_POINTER,
56 ExifTIFFTagSet.getInstance());
57 }
|
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
23 * questions.
24 */
25 package javax.imageio.plugins.tiff;
26
27 import java.util.ArrayList;
28 import java.util.List;
29
30 /**
31 * A class containing the TIFF tags used to reference the Exif and GPS IFDs.
32 * This tag set should be added to the root tag set by means of the
33 * {@link TIFFImageReadParam#addAllowedTagSet(TIFFTagSet)
34 * TIFFImageReadParam.addAllowedTagSet} method if Exif
35 * support is desired.
36 *
37 * @since 9
38 */
39 public class ExifParentTIFFTagSet extends TIFFTagSet {
40
41 private static ExifParentTIFFTagSet theInstance = null;
42
43 // 34665 - Exif IFD Pointer (LONG/1)
44 /** Tag pointing to the Exif IFD (type LONG). */
45 public static final int TAG_EXIF_IFD_POINTER = 34665;
46
47 /** Tag pointing to a GPS info IFD (type LONG). */
48 public static final int TAG_GPS_INFO_IFD_POINTER = 34853;
49
50 // To be inserted into parent (root) TIFFTagSet
51 static class ExifIFDPointer extends TIFFTag {
52
53 public ExifIFDPointer() {
54 super("ExifIFDPointer",
55 TAG_EXIF_IFD_POINTER,
56 ExifTIFFTagSet.getInstance());
57 }
|