Changeset 8132 in josm for trunk/src/com/drew/metadata/exif/ExifSubIFDDirectory.java
- Timestamp:
- 2015-03-10T01:17:39+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/drew/metadata/exif/ExifSubIFDDirectory.java
r6127 r8132 1 1 /* 2 * Copyright 2002-201 2Drew Noakes2 * Copyright 2002-2015 Drew Noakes 3 3 * 4 4 * Licensed under the Apache License, Version 2.0 (the "License"); … … 16 16 * More information about this project is available at: 17 17 * 18 * http ://drewnoakes.com/code/exif/19 * http ://code.google.com/p/metadata-extractor/18 * https://drewnoakes.com/code/exif/ 19 * https://github.com/drewnoakes/metadata-extractor 20 20 */ 21 21 package com.drew.metadata.exif; … … 29 29 * Describes Exif tags from the SubIFD directory. 30 30 * 31 * @author Drew Noakes http ://drewnoakes.com31 * @author Drew Noakes https://drewnoakes.com 32 32 */ 33 33 public class ExifSubIFDDirectory extends Directory … … 133 133 /** 134 134 * Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524. 135 * <p />135 * <p> 136 136 * OECF is the relationship between the camera optical input and the image values. 137 * <p />137 * <p> 138 138 * The values are: 139 139 * <ul> … … 260 260 */ 261 261 public static final int TAG_FOCAL_LENGTH = 0x920A; 262 263 /** 264 * This tag holds the Exif Makernote. Makernotes are free to be in any format, though they are often IFDs. 265 * To determine the format, we consider the starting bytes of the makernote itself and sometimes the 266 * camera model and make. 267 * <p> 268 * The component count for this tag includes all of the bytes needed for the makernote. 269 */ 270 public static final int TAG_MAKERNOTE = 0x927C; 271 262 272 public static final int TAG_USER_COMMENT = 0x9286; 273 263 274 public static final int TAG_SUBSECOND_TIME = 0x9290; 264 275 public static final int TAG_SUBSECOND_TIME_ORIGINAL = 0x9291; 265 276 public static final int TAG_SUBSECOND_TIME_DIGITIZED = 0x9292; 277 266 278 public static final int TAG_FLASHPIX_VERSION = 0xA000; 267 279 /** … … 274 286 public static final int TAG_EXIF_IMAGE_HEIGHT = 0xA003; 275 287 public static final int TAG_RELATED_SOUND_FILE = 0xA004; 276 public static final int TAG_FOCAL_PLANE_X_RES = 0xA20E; 277 public static final int TAG_FOCAL_PLANE_Y_RES = 0xA20F; 288 289 /** This tag is a pointer to the Exif Interop IFD. */ 290 public static final int TAG_INTEROP_OFFSET = 0xA005; 291 292 public static final int TAG_FOCAL_PLANE_X_RESOLUTION = 0xA20E; 293 public static final int TAG_FOCAL_PLANE_Y_RESOLUTION = 0xA20F; 278 294 /** 279 295 * Unit of FocalPlaneXResolution/FocalPlaneYResolution. '1' means no-unit, … … 285 301 * been changed to use value '2' but it doesn't match to actual value also. 286 302 */ 287 public static final int TAG_FOCAL_PLANE_ UNIT = 0xA210;303 public static final int TAG_FOCAL_PLANE_RESOLUTION_UNIT = 0xA210; 288 304 public static final int TAG_EXPOSURE_INDEX = 0xA215; 289 305 public static final int TAG_SENSING_METHOD = 0xA217; … … 512 528 _tagNameMap.put(0x0200, "JPEG Proc"); 513 529 _tagNameMap.put(TAG_COMPRESSED_AVERAGE_BITS_PER_PIXEL, "Compressed Bits Per Pixel"); 514 _tagNameMap.put( 0x927C, "Maker Note");515 _tagNameMap.put( 0xA005, "Interoperability Offset");530 _tagNameMap.put(TAG_MAKERNOTE, "Makernote"); 531 _tagNameMap.put(TAG_INTEROP_OFFSET, "Interoperability Offset"); 516 532 517 533 _tagNameMap.put(TAG_NEW_SUBFILE_TYPE, "New Subfile Type"); … … 586 602 _tagNameMap.put(TAG_SPATIAL_FREQ_RESPONSE_2, "Spatial Frequency Response"); 587 603 // 0x920E in TIFF/EP 588 _tagNameMap.put(TAG_FOCAL_PLANE_X_RES , "Focal Plane X Resolution");604 _tagNameMap.put(TAG_FOCAL_PLANE_X_RESOLUTION, "Focal Plane X Resolution"); 589 605 // 0x920F in TIFF/EP 590 _tagNameMap.put(TAG_FOCAL_PLANE_Y_RES , "Focal Plane Y Resolution");606 _tagNameMap.put(TAG_FOCAL_PLANE_Y_RESOLUTION, "Focal Plane Y Resolution"); 591 607 // 0x9210 in TIFF/EP 592 _tagNameMap.put(TAG_FOCAL_PLANE_ UNIT, "Focal Plane Resolution Unit");608 _tagNameMap.put(TAG_FOCAL_PLANE_RESOLUTION_UNIT, "Focal Plane Resolution Unit"); 593 609 // 0x9214 in TIFF/EP 594 610 _tagNameMap.put(TAG_SUBJECT_LOCATION_2, "Subject Location"); … … 614 630 _tagNameMap.put(TAG_SUBJECT_DISTANCE_RANGE, "Subject Distance Range"); 615 631 _tagNameMap.put(TAG_IMAGE_UNIQUE_ID, "Unique Image ID"); 616 632 617 633 _tagNameMap.put(TAG_CAMERA_OWNER_NAME, "Camera Owner Name"); 618 634 _tagNameMap.put(TAG_BODY_SERIAL_NUMBER, "Body Serial Number"); … … 634 650 } 635 651 652 @Override 636 653 @NotNull 637 654 public String getName() … … 640 657 } 641 658 659 @Override 642 660 @NotNull 643 661 protected HashMap<Integer, String> getTagNameMap()
Note:
See TracChangeset
for help on using the changeset viewer.