use of digilib.image.DocuImage in project digilib by robcast.
the class ImageFile method check.
/**
* Checks the image and sets size and type.
*/
public void check() {
if (pixelSize == null) {
try {
// use the configured toolkit to identify the image
DocuImage di = DocuImageFactory.getInstance();
di.identify(this);
} catch (IOException e) {
// nothing much to do...
}
}
}
Aggregations