Link

How to Read Image Metadata in JDeli

How to read Metadata from an image file in JDeli

JDeli makes it very simple to access supported Metadata values

Metadata imgMetadata = JDeli.getImageInfo(imgFile);

which can be cast to an Image specific version

HeicMetadata imgMetadata = (HeicMetadata) JDeli.getImageInfo(heicFile);

By default, all images will have a value set for image width and image height.

List of Image Specific Metadata in JDeli

  1. How to read Metadata from an image file in JDeli
  2. BMP
  3. HEIC
    1. IFDData
  4. JPEG
  5. JPEG2000
  6. PDF
  7. PNG
  8. TIFF
    1. IFDData
  9. WEBP

BMP

No additional options are currently available for this format.


HEIC

IFDData

This can be accessed using HeicMetadata.getExif().

Accepted Values
null or an instance of Exif which provides access to IFD MetaData


JPEG

No additional options are currently available for this format.


JPEG2000

No additional options are currently available for this format.


PDF

No additional options are currently available for this format.


PNG

No additional options are currently available for this format.


TIFF

IFDData

This can be accessed using TiffMetadata.getIfds().

Accepted Values
List of IFD data.


WEBP

No additional options are currently available for this format.

Still need help? Send us your questions.