public boolean canAcceptExtension(final File file) {
        return canAcceptExtension(file.getName());
    }
Tests whether the ImageParser implementation can accept the specified file based on its extension.

@param file An valid file reference.
@return If the parser can accept the format, true; otherwise, false.
src/main/java/org/apache/commons/imaging/AbstractImageParser.java