add test for showing jbig2 support
This commit is contained in:
parent
6e82a0fbbd
commit
b906e7533b
1 changed files with 20 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue