com.drew.metadata.exif

Class ExifDescriptor

public class ExifDescriptor extends TagDescriptor

Contains all logic for the presentation of raw Exif data, as stored in ExifDirectory. Use this class to provide human-readable descriptions of tag values.
Constructor Summary
ExifDescriptor(Directory directory)
Method Summary
static StringconvertBytesToVersionString(int[] components)
Takes a series of 4 bytes from the specified offset, and converts these to a well-known version number, where possible.
Stringget35mmFilmEquivFocalLengthDescription()
StringgetApertureValueDescription()
StringgetBitsPerSampleDescription()
StringgetColorSpaceDescription()
StringgetComponentConfigurationDescription()
StringgetCompressionDescription()
StringgetCompressionLevelDescription()
StringgetContrastDescription()
StringgetCustomRenderedDescription()
StringgetDescription(int tagType)
Returns a descriptive value of the the specified tag for this image.
StringgetDigitalZoomRatioDescription()
StringgetExifImageHeightDescription()
StringgetExifImageWidthDescription()
StringgetExifVersionDescription()
StringgetExposureBiasDescription()
StringgetExposureModeDescription()
StringgetExposureProgramDescription()
StringgetExposureTimeDescription()
StringgetFileSourceDescription()
StringgetFillOrderDescription()
StringgetFlashDescription()
StringgetFlashPixVersionDescription()
StringgetFNumberDescription()
StringgetFocalLengthDescription()
StringgetFocalPlaneResolutionUnitDescription()
StringgetFocalPlaneXResolutionDescription()
StringgetFocalPlaneYResolutionDescription()
StringgetGainControlDescription()
StringgetIsoEquivalentDescription()
StringgetMaxApertureValueDescription()
StringgetMeteringModeDescription()
StringgetNewSubfileTypeDescription()
StringgetOrientationDescription()
StringgetPhotometricInterpretationDescription()
StringgetPlanarConfigurationDescription()
StringgetReferenceBlackWhiteDescription()
StringgetResolutionDescription()
StringgetRowsPerStripDescription()
StringgetSamplesPerPixelDescription()
StringgetSaturationDescription()
StringgetSceneCaptureTypeDescription()
StringgetSceneTypeDescription()
StringgetSensingMethodDescription()
StringgetSharpnessDescription()
StringgetShutterSpeedDescription()
StringgetStripByteCountsDescription()
StringgetSubfileTypeDescription()
StringgetSubjectDistanceDescription()
StringgetSubjectDistanceRangeDescription()
StringgetThresholdingDescription()
StringgetThumbnailDescription()
StringgetThumbnailImageHeightDescription()
StringgetThumbnailImageWidthDescription()
StringgetThumbnailLengthDescription()
StringgetThumbnailOffsetDescription()
StringgetUserCommentDescription()
StringgetWhiteBalanceDescription()
StringgetWhiteBalanceModeDescription()
StringgetWindowsAuthorDescription()
StringgetWindowsCommentDescription()
StringgetWindowsKeywordsDescription()
StringgetWindowsSubjectDescription()
StringgetWindowsTitleDescription()
StringgetXResolutionDescription()
StringgetYCbCrPositioningDescription()
StringgetYCbCrSubsamplingDescription()
StringgetYResolutionDescription()

Constructor Detail

ExifDescriptor

public ExifDescriptor(Directory directory)

Method Detail

convertBytesToVersionString

public static String convertBytesToVersionString(int[] components)
Takes a series of 4 bytes from the specified offset, and converts these to a well-known version number, where possible. For example, (hex) 30 32 31 30 == 2.10).

Parameters: components the four version values

Returns: the version as a string of form 2.10

get35mmFilmEquivFocalLengthDescription

public String get35mmFilmEquivFocalLengthDescription()

getApertureValueDescription

public String getApertureValueDescription()

getBitsPerSampleDescription

public String getBitsPerSampleDescription()

getColorSpaceDescription

public String getColorSpaceDescription()

getComponentConfigurationDescription

public String getComponentConfigurationDescription()

getCompressionDescription

public String getCompressionDescription()

getCompressionLevelDescription

public String getCompressionLevelDescription()

getContrastDescription

public String getContrastDescription()

getCustomRenderedDescription

public String getCustomRenderedDescription()

getDescription

public String getDescription(int tagType)
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.

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.

getDigitalZoomRatioDescription

public String getDigitalZoomRatioDescription()

getExifImageHeightDescription

public String getExifImageHeightDescription()

getExifImageWidthDescription

public String getExifImageWidthDescription()

getExifVersionDescription

public String getExifVersionDescription()

getExposureBiasDescription

public String getExposureBiasDescription()

getExposureModeDescription

public String getExposureModeDescription()

getExposureProgramDescription

public String getExposureProgramDescription()

getExposureTimeDescription

public String getExposureTimeDescription()

getFileSourceDescription

public String getFileSourceDescription()

getFillOrderDescription

public String getFillOrderDescription()

getFlashDescription

public String getFlashDescription()

getFlashPixVersionDescription

public String getFlashPixVersionDescription()

getFNumberDescription

public String getFNumberDescription()

getFocalLengthDescription

public String getFocalLengthDescription()

getFocalPlaneResolutionUnitDescription

public String getFocalPlaneResolutionUnitDescription()

getFocalPlaneXResolutionDescription

public String getFocalPlaneXResolutionDescription()

getFocalPlaneYResolutionDescription

public String getFocalPlaneYResolutionDescription()

getGainControlDescription

public String getGainControlDescription()

getIsoEquivalentDescription

public String getIsoEquivalentDescription()

getMaxApertureValueDescription

public String getMaxApertureValueDescription()

getMeteringModeDescription

public String getMeteringModeDescription()

getNewSubfileTypeDescription

public String getNewSubfileTypeDescription()

getOrientationDescription

public String getOrientationDescription()

getPhotometricInterpretationDescription

public String getPhotometricInterpretationDescription()

getPlanarConfigurationDescription

public String getPlanarConfigurationDescription()

getReferenceBlackWhiteDescription

public String getReferenceBlackWhiteDescription()

getResolutionDescription

public String getResolutionDescription()

getRowsPerStripDescription

public String getRowsPerStripDescription()

getSamplesPerPixelDescription

public String getSamplesPerPixelDescription()

getSaturationDescription

public String getSaturationDescription()

getSceneCaptureTypeDescription

public String getSceneCaptureTypeDescription()

getSceneTypeDescription

public String getSceneTypeDescription()

getSensingMethodDescription

public String getSensingMethodDescription()

getSharpnessDescription

public String getSharpnessDescription()

getShutterSpeedDescription

public String getShutterSpeedDescription()

getStripByteCountsDescription

public String getStripByteCountsDescription()

getSubfileTypeDescription

public String getSubfileTypeDescription()

getSubjectDistanceDescription

public String getSubjectDistanceDescription()

getSubjectDistanceRangeDescription

public String getSubjectDistanceRangeDescription()

getThresholdingDescription

public String getThresholdingDescription()

getThumbnailDescription

public String getThumbnailDescription()

getThumbnailImageHeightDescription

public String getThumbnailImageHeightDescription()

getThumbnailImageWidthDescription

public String getThumbnailImageWidthDescription()

getThumbnailLengthDescription

public String getThumbnailLengthDescription()

getThumbnailOffsetDescription

public String getThumbnailOffsetDescription()

getUserCommentDescription

public String getUserCommentDescription()

getWhiteBalanceDescription

public String getWhiteBalanceDescription()

getWhiteBalanceModeDescription

public String getWhiteBalanceModeDescription()

getWindowsAuthorDescription

public String getWindowsAuthorDescription()

getWindowsCommentDescription

public String getWindowsCommentDescription()

getWindowsKeywordsDescription

public String getWindowsKeywordsDescription()

getWindowsSubjectDescription

public String getWindowsSubjectDescription()

getWindowsTitleDescription

public String getWindowsTitleDescription()

getXResolutionDescription

public String getXResolutionDescription()

getYCbCrPositioningDescription

public String getYCbCrPositioningDescription()

getYCbCrSubsamplingDescription

public String getYCbCrSubsamplingDescription()

getYResolutionDescription

public String getYResolutionDescription()
Copyright © 2006 Drew Noakes. All Rights Reserved.