JImage-Analyst is a JAVA(TM) based library for extracting meta information from various image file formats.
JImage-Analyst comes with the following features:
File file = new File("test.gif");
JImageAnalyst analyst = JImageAnalystFactory.getDefaultInstance();
ImageInfo imageInfo = analyst.analyze(file);
System.out.println("Format: " + imageInfo.getFormat());
System.out.println("MIME-Type: " + imageInfo.getMimeType());
System.out.println("Width: " + imageInfo.getWidth());
System.out.println("Height: " + imageInfo.getHeight());
System.out.println("BitsPerPixel: " + imageInfo.getBitsPerPixel());
// ... more information is available in imageInfo ...
You can download JImage-Analyst at SourceForge.
JImage-Analyst is written by Oliver J. Siegmar. Many of the image detection algorithms are written by Marco Schmidt for his ImageInfo library.