Class MetadataExtractor.JpegDescriptor

    • Field Detail

      • TAG_DATA_PRECISION

        public static final int TAG_DATA_PRECISION
        This is in bits/sample, usually 8 (12 and 16 not supported by most software).
        See Also:
        Constant Field Values
      • TAG_IMAGE_HEIGHT

        public static final int TAG_IMAGE_HEIGHT
        The image's height. Necessary for decoding the image, so it should always be there.
        See Also:
        Constant Field Values
      • TAG_IMAGE_WIDTH

        public static final int TAG_IMAGE_WIDTH
        The image's width. Necessary for decoding the image, so it should always be there.
        See Also:
        Constant Field Values
      • TAG_COMPONENT_DATA_1

        public static final int TAG_COMPONENT_DATA_1
        the first of a possible 4 color components. Number of components specified in TAG_NUMBER_OF_COMPONENTS.
        See Also:
        Constant Field Values
      • TAG_COMPONENT_DATA_2

        public static final int TAG_COMPONENT_DATA_2
        the second of a possible 4 color components. Number of components specified in TAG_NUMBER_OF_COMPONENTS.
        See Also:
        Constant Field Values
      • TAG_COMPONENT_DATA_3

        public static final int TAG_COMPONENT_DATA_3
        the third of a possible 4 color components. Number of components specified in TAG_NUMBER_OF_COMPONENTS.
        See Also:
        Constant Field Values
      • TAG_COMPONENT_DATA_4

        public static final int TAG_COMPONENT_DATA_4
        the fourth of a possible 4 color components. Number of components specified in TAG_NUMBER_OF_COMPONENTS.
        See Also:
        Constant Field Values
    • Method Detail

      • getDescription

        public java.lang.String getDescription​(int tagType)
        Description copied from class: MetadataExtractor.TagDescriptor
        Returns 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 by getString(tagType) will be returned.
        Overrides:
        getDescription in class MetadataExtractor.TagDescriptor<MetadataExtractor.JpegDirectory>
        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.
      • getImageCompressionTypeDescription

        public java.lang.String getImageCompressionTypeDescription()
      • getImageWidthDescription

        public java.lang.String getImageWidthDescription()
      • getImageHeightDescription

        public java.lang.String getImageHeightDescription()
      • getDataPrecisionDescription

        public java.lang.String getDataPrecisionDescription()
      • getComponentDataDescription

        public java.lang.String getComponentDataDescription​(int componentNumber)