Package com.drew.metadata.exif
Class ExifDescriptorBase<T extends Directory>
java.lang.Object
com.drew.metadata.TagDescriptor<T>
com.drew.metadata.exif.ExifDescriptorBase<T>
- Direct Known Subclasses:
ExifIFD0Descriptor,ExifImageDescriptor,ExifInteropDescriptor,ExifSubIFDDescriptor,ExifThumbnailDescriptor
Base class for several Exif format descriptor classes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanDictates whether rational values will be represented in decimal format in instances where decimal notation is elegant (such as 1/2 -> 0.5, but not 1/3).Fields inherited from class com.drew.metadata.TagDescriptor
_directory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate int[]decodeCfaPattern(int tagType) Decode raw CFAPattern value Converted from Exiftool version 10.33 created by Phil Harvey http://www.sno.phy.queensu.ca/~phil/exiftool/ lib\Image\ExifTool\Exif.pm The value consists of: - Two short, being the grid width and height of the repeated pattern.private static StringformatCFAPattern(int[] pattern) String description of CFA Pattern Indicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used.String description of CFA Pattern Converted from Exiftool version 10.33 created by Phil Harvey http://www.sno.phy.queensu.ca/~phil/exiftool/ lib\Image\ExifTool\Exif.pm Indicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used.getDescription(int tagType) Returns a descriptive value of the specified tag for this image.private StringgetUnicodeDescription(int tag) The Windows specific tags uses plain Unicode.(package private) static StringgetWhiteBalanceDescription(int value) Methods inherited from class com.drew.metadata.TagDescriptor
convertBytesToVersionString, get7BitStringFromBytes, getBitFlagDescription, getByteLengthDescription, getDecimalRational, getEncodedTextDescription, getEpochTimeDescription, getFocalLengthDescription, getFormattedFloat, getFormattedInt, getFormattedString, getFStopDescription, getIndexedDescription, getIndexedDescription, getLensSpecificationDescription, getOrientationDescription, getRationalOrDoubleString, getShutterSpeedDescription, getSimpleRational, getStringFromBytes, getVersionBytesDescription
-
Field Details
-
_allowDecimalRepresentationOfRationals
private final boolean _allowDecimalRepresentationOfRationalsDictates whether rational values will be represented in decimal format in instances where decimal notation is elegant (such as 1/2 -> 0.5, but not 1/3).- See Also:
-
-
Constructor Details
-
ExifDescriptorBase
-
-
Method Details
-
getDescription
Description copied from class:TagDescriptorReturns a descriptive value of 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 bygetString(tagType)will be returned.- Overrides:
getDescriptionin classTagDescriptor<T extends Directory>- Parameters:
tagType- the tag to find a description for- Returns:
- a description of the image's value for the specified tag, or
nullif the tag hasn't been defined.
-
getInteropIndexDescription
-
getInteropVersionDescription
-
getNewSubfileTypeDescription
-
getSubfileTypeDescription
-
getImageWidthDescription
-
getImageHeightDescription
-
getBitsPerSampleDescription
-
getCompressionDescription
-
getPhotometricInterpretationDescription
-
getThresholdingDescription
-
getFillOrderDescription
-
getOrientationDescription
-
getSamplesPerPixelDescription
-
getRowsPerStripDescription
-
getStripByteCountsDescription
-
getXResolutionDescription
-
getYResolutionDescription
-
getPlanarConfigurationDescription
-
getResolutionDescription
-
getJpegProcDescription
-
getYCbCrSubsamplingDescription
-
getYCbCrPositioningDescription
-
getReferenceBlackWhiteDescription
-
getCfaPattern2Description
String description of CFA Pattern Indicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. It does not apply to all sensing methods. ExifDirectoryBase.TAG_CFA_PATTERN_2 holds only the pixel pattern. ExifDirectoryBase.TAG_CFA_REPEAT_PATTERN_DIM is expected to exist and pass some conditional tests. -
formatCFAPattern
-
getExposureTimeDescription
-
getFNumberDescription
-
getExposureProgramDescription
-
getIsoEquivalentDescription
-
getSensitivityTypeRangeDescription
-
getExifVersionDescription
-
getComponentConfigurationDescription
-
getCompressedAverageBitsPerPixelDescription
-
getShutterSpeedDescription
-
getApertureValueDescription
-
getBrightnessValueDescription
-
getExposureBiasDescription
-
getMaxApertureValueDescription
-
getSubjectDistanceDescription
-
getMeteringModeDescription
-
getWhiteBalanceDescription
-
getWhiteBalanceDescription
-
getFlashDescription
-
getFocalLengthDescription
-
getUserCommentDescription
-
getTemperatureDescription
-
getHumidityDescription
-
getPressureDescription
-
getWaterDepthDescription
-
getAccelerationDescription
-
getCameraElevationAngleDescription
-
getUnicodeDescription
The Windows specific tags uses plain Unicode. -
getWindowsTitleDescription
-
getWindowsCommentDescription
-
getWindowsAuthorDescription
-
getWindowsKeywordsDescription
-
getWindowsSubjectDescription
-
getFlashPixVersionDescription
-
getColorSpaceDescription
-
getExifImageWidthDescription
-
getExifImageHeightDescription
-
getFocalPlaneXResolutionDescription
-
getFocalPlaneYResolutionDescription
-
getFocalPlaneResolutionUnitDescription
-
getSensingMethodDescription
-
getFileSourceDescription
-
getSceneTypeDescription
-
getCfaPatternDescription
String description of CFA Pattern Converted from Exiftool version 10.33 created by Phil Harvey http://www.sno.phy.queensu.ca/~phil/exiftool/ lib\Image\ExifTool\Exif.pm Indicates the color filter array (CFA) geometric pattern of the image sensor when a one-chip color area sensor is used. It does not apply to all sensing methods. -
decodeCfaPattern
private int[] decodeCfaPattern(int tagType) Decode raw CFAPattern value Converted from Exiftool version 10.33 created by Phil Harvey http://www.sno.phy.queensu.ca/~phil/exiftool/ lib\Image\ExifTool\Exif.pm The value consists of: - Two short, being the grid width and height of the repeated pattern. - Next, for every pixel in that pattern, an identification code. -
getCustomRenderedDescription
-
getExposureModeDescription
-
getWhiteBalanceModeDescription
-
getDigitalZoomRatioDescription
-
get35mmFilmEquivFocalLengthDescription
-
getSceneCaptureTypeDescription
-
getGainControlDescription
-
getContrastDescription
-
getSaturationDescription
-
getSharpnessDescription
-
getSubjectDistanceRangeDescription
-
getLensSpecificationDescription
-
getExtraSamplesDescription
-
getSampleFormatDescription
-