add test for showing jbig2 support

This commit is contained in:
Jörg Prante 2024-01-04 11:48:08 +01:00
parent 6e82a0fbbd
commit b906e7533b

View file

@ -0,0 +1,20 @@
package org.xbib.graphics.pdfbox.test;
import org.junit.jupiter.api.Test;
import javax.imageio.ImageIO;
import java.util.logging.Level;
import java.util.logging.Logger;
public class JBig2Test {
private static final Logger logger = Logger.getLogger(JBig2Test.class.getName());
@Test
public void checkPlugins() {
ImageIO.scanForPlugins();
for (String suffix : ImageIO.getReaderFileSuffixes()) {
logger.log(Level.INFO, "ImageIO suffix: " + suffix);
}
}
}