in thumbnails4j-docx/src/main/java/co/elastic/thumbnails4j/docx/DOCXThumbnailer.java [56:66]
public List<BufferedImage> getThumbnails(File input, List<Dimensions> dimensions) throws ThumbnailingException {
try (FileInputStream fis = new FileInputStream(input)) {
return getThumbnails(fis, dimensions);
} catch (FileNotFoundException e) {
logger.error("Could not find file {}", input.getAbsolutePath());
logger.error("With stack: ", e);
throw new IllegalArgumentException(e);
} catch (IOException e) {
throw new ThumbnailingException(e);
}
}