The system I'm working on has a feature to extract metadata from JPEG files using the com.drew.metadata
package. http://www.drewnoakes.com/code/exif/ However that is limited to JPEG files, and now a customer has asked about extracting IPTC from TIF, and possibly other image formats.
Does anyone know about similar APIs to Drew Noakes one, that can extract IPTC from TIF?
Ideally this would be a pure Java approach like the com.drew.metadata
one.
This is an old question. Nowadays my
metadata-extractor
library supports TIFF files, as well as JPEG, WebP, PSD, PNG, GIF, BMP, ICO, PCX and many camera raw formats.The project recently moved to GitHub:
https://github.com/drewnoakes/metadata-extractor
And is available via Maven:
http://search.maven.org/#search%7Cga%7C1%7Cdrewnoakes