com.drew.metadata.exif
Class FujifilmMakernoteDescriptor
java.lang.Object
com.drew.metadata.TagDescriptor<FujifilmMakernoteDirectory>
com.drew.metadata.exif.FujifilmMakernoteDescriptor
public class FujifilmMakernoteDescriptor
- extends TagDescriptor<FujifilmMakernoteDirectory>
Provides human-readable string representations of tag values stored in a FujifilmMakernoteDirectory.
Fujifilm's digicam added the MakerNote tag from the Year2000's model (e.g.Finepix1400,
Finepix4700). It uses IFD format and start from ASCII character 'FUJIFILM', and next 4
bytes(value 0x000c) points the offset to first IFD entry. Example of actual data
structure is shown below.
:0000: 46 55 4A 49 46 49 4C 4D-0C 00 00 00 0F 00 00 00 :0000: FUJIFILM........
:0010: 07 00 04 00 00 00 30 31-33 30 00 10 02 00 08 00 :0010: ......0130......
There are two big differences to the other manufacturers.
- Fujifilm's Exif data uses Motorola align, but MakerNote ignores it and uses Intel
align.
- The other manufacturer's MakerNote counts the "offset to data" from the first byte
of TIFF header (same as the other IFD), but Fujifilm counts it from the first byte
of MakerNote itself.
- Author:
- Drew Noakes http://drewnoakes.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FujifilmMakernoteDescriptor
public FujifilmMakernoteDescriptor(FujifilmMakernoteDirectory directory)
getDescription
public String getDescription(int tagType)
- Description copied from class:
TagDescriptor
- Returns a descriptive value of the the specified tag for this image.
Where possible, known values will be substituted here in place of the raw
tokens actually kept in the metadata segment. If no substitution is
available, the value provided by
getString(tagType) will be returned.
- Overrides:
getDescription in class TagDescriptor<FujifilmMakernoteDirectory>
- Parameters:
tagType - the tag to find a description for
- Returns:
- a description of the image's value for the specified tag, or
null if the tag hasn't been defined.
getSharpnessDescription
public String getSharpnessDescription()
getWhiteBalanceDescription
public String getWhiteBalanceDescription()
getColorDescription
public String getColorDescription()
getToneDescription
public String getToneDescription()
getFlashModeDescription
public String getFlashModeDescription()
getFlashStrengthDescription
public String getFlashStrengthDescription()
getMacroDescription
public String getMacroDescription()
getFocusModeDescription
public String getFocusModeDescription()
getSlowSyncDescription
public String getSlowSyncDescription()
getPictureModeDescription
public String getPictureModeDescription()
getContinuousTakingOrAutoBrackettingDescription
public String getContinuousTakingOrAutoBrackettingDescription()
getBlurWarningDescription
public String getBlurWarningDescription()
getFocusWarningDescription
public String getFocusWarningDescription()
getAutoExposureWarningDescription
public String getAutoExposureWarningDescription()
Copyright © 2012. All Rights Reserved.