I am using the excellent metadata-extractor library. It is very good for retrieving detailed metadata from many different image formats.
However, for a project i am only interested in extracting "common image metadata" (like width and height). In this use case the API is quiet verbose AFIAK.
I am looking for a convenience API like:
final MetadataWrapper md = MetadataWrapper.readMetadata(file);
FileType type = md.getFileType();
int width = md.getWidth();
int height = md.getHeight();
Any suggestions?