JBIG2-Image-Decoder
JBIG2-Image-Decoder copied to clipboard
A fork of JPedal's JBIG2 library
The jar can't be used as an ImageIO plugin. When running build.xml, the "services" directory in META-INF isn't created, thus there is no file named "javax.imageio.spi.ImageReaderSpi" with the text "org.jpedal.jbig2.jai.JBIG2ImageReaderSpi".
After building the library with "ant" and trying to run the viewer from the examples, the following exception is thrown: $ java -cp jbig2.jar org.jpedal.jbig2.examples.viewer.JBIG2Viewer java.lang.NullPointerException at javax.swing.ImageIcon.(ImageIcon.java:217) at org.jpedal.jbig2.examples.viewer.JBIG2Viewer.setUpToolbar(Unknown...
When try to render some types of PDF I always get an exception. Please, fix this bug. Error stack-trace: java.lang.IndexOutOfBoundsException: bitIndex < 0: -1152 ``` at java.util.BitSet.get(Unknown Source) at org.jpedal.jbig2.image.JBIG2Bitmap.getPixel(Unknown...