Class JpegImageMetadata

    • Method Detail

      • dump

        public void dump()
      • findExifValueWithExactMatch

        public TiffField findExifValueWithExactMatch​(TagInfo tagInfo)
      • getExifThumbnail

        public java.awt.image.BufferedImage getExifThumbnail()
                                                      throws ImagingException,
                                                             java.io.IOException
        Gets the thumbnail image if available.
        Returns:
        the thumbnail image. May be null if no image could be found.
        Throws:
        ImagingException - if it fails to read the image
        java.io.IOException - if it fails to get the thumbnail or to read the image data
      • getExifThumbnailData

        public byte[] getExifThumbnailData()
        Returns the data of the first JPEG thumbnail found in the EXIF metadata.
        Returns:
        JPEG data or null if no thumbnail.
      • getExifThumbnailSize

        public java.awt.Dimension getExifThumbnailSize()
                                                throws ImagingException,
                                                       java.io.IOException
        Returns the size of the first JPEG thumbnail found in the EXIF metadata.
        Returns:
        Thumbnail width and height or null if no thumbnail.
        Throws:
        ImagingException - if it fails to read the image
        java.io.IOException - if it fails to read the image size
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toString

        public java.lang.String toString​(java.lang.String prefix)
        Specified by:
        toString in interface ImageMetadata