prasanna
prasanna

Reputation: 61

Extract metadata from image file using Java

I want to read properties like created_date, modified_date, creator, etc... in Java, of the below image file formats:

I have used javax.imageio but I didn't find the solution. Any help would be appreciated

Upvotes: 3

Views: 7512

Answers (2)

Muhammad Suleman
Muhammad Suleman

Reputation: 2932

you can use metadata-extractor like ..

Metadata metadata = ImageMetadataReader.readMetadata(imageFile);

Upvotes: 4

Nailgun
Nailgun

Reputation: 4179

Try Apache Tika. It's very mature and well-suported metadata extraction libraty.

Upvotes: 2

Related Questions