com.drew.metadata.exif
Class FujifilmMakernoteDescriptor

java.lang.Object
  extended by com.drew.metadata.TagDescriptor
      extended by com.drew.metadata.exif.FujifilmMakernoteDescriptor
All Implemented Interfaces:
java.io.Serializable

public class FujifilmMakernoteDescriptor
extends TagDescriptor

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

Field Summary
 
Fields inherited from class com.drew.metadata.TagDescriptor
_directory
 
Constructor Summary
FujifilmMakernoteDescriptor(Directory directory)
           
 
Method Summary
 java.lang.String getAutoExposureWarningDescription()
           
 java.lang.String getBlurWarningDescription()
           
 java.lang.String getColorDescription()
           
 java.lang.String getContinuousTakingOrAutoBrackettingDescription()
           
 java.lang.String getDescription(int tagType)
          Returns a descriptive value of the the specified tag for this image.
 java.lang.String getFlashModeDescription()
           
 java.lang.String getFlashStrengthDescription()
           
 java.lang.String getFocusModeDescription()
           
 java.lang.String getFocusWarningDescription()
           
 java.lang.String getMacroDescription()
           
 java.lang.String getPictureModeDescription()
           
 java.lang.String getSharpnessDescription()
           
 java.lang.String getSlowSyncDescription()
           
 java.lang.String getToneDescription()
           
 java.lang.String getWhiteBalanceDescription()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FujifilmMakernoteDescriptor

public FujifilmMakernoteDescriptor(Directory directory)
Method Detail

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.