com.drew.metadata.exif
Class FujifilmMakernoteDescriptor
java.lang.Object
com.drew.metadata.TagDescriptor
com.drew.metadata.exif.FujifilmMakernoteDescriptor
- All Implemented Interfaces:
- java.io.Serializable
public class FujifilmMakernoteDescriptor
- extends TagDescriptor
Provides human-readable string represenations 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.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FujifilmMakernoteDescriptor
public FujifilmMakernoteDescriptor(Directory directory)
getDescription
public java.lang.String getDescription(int tagType)
throws MetadataException
- 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 Exif segment. If no substitution is
available, the value provided by getString(int) will be returned.
This and getString(int) are the only 'get' methods that won't throw an
exception.
- Specified by:
getDescription
in class TagDescriptor
- 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.
- Throws:
MetadataException
getAutoExposureWarningDescription
public java.lang.String getAutoExposureWarningDescription()
throws MetadataException
- Throws:
MetadataException
getFocusWarningDescription
public java.lang.String getFocusWarningDescription()
throws MetadataException
- Throws:
MetadataException
getBlurWarningDescription
public java.lang.String getBlurWarningDescription()
throws MetadataException
- Throws:
MetadataException
getContinuousTakingOrAutoBrackettingDescription
public java.lang.String getContinuousTakingOrAutoBrackettingDescription()
throws MetadataException
- Throws:
MetadataException
getPictureModeDescription
public java.lang.String getPictureModeDescription()
throws MetadataException
- Throws:
MetadataException
getSlowSyncDescription
public java.lang.String getSlowSyncDescription()
throws MetadataException
- Throws:
MetadataException
getFocusModeDescription
public java.lang.String getFocusModeDescription()
throws MetadataException
- Throws:
MetadataException
getMacroDescription
public java.lang.String getMacroDescription()
throws MetadataException
- Throws:
MetadataException
getFlashStrengthDescription
public java.lang.String getFlashStrengthDescription()
throws MetadataException
- Throws:
MetadataException
getFlashModeDescription
public java.lang.String getFlashModeDescription()
throws MetadataException
- Throws:
MetadataException
getToneDescription
public java.lang.String getToneDescription()
throws MetadataException
- Throws:
MetadataException
getColorDescription
public java.lang.String getColorDescription()
throws MetadataException
- Throws:
MetadataException
getWhiteBalanceDescription
public java.lang.String getWhiteBalanceDescription()
throws MetadataException
- Throws:
MetadataException
getSharpnessDescription
public java.lang.String getSharpnessDescription()
throws MetadataException
- Throws:
MetadataException
Copyright © 2006 Drew Noakes. All Rights Reserved.