While running jPod (jPodRenderer) with current jbig2.jar from http://www.jpedal.org/support_JBIG.php in classpath I got this exception:
Caused by: java.lang.NullPointerException
The source of this exception is the supplied page index (..number) of 1 in
It seems that the convention for the page parameter changed in the meantime..
Now the page numbering starts at 0 in org.jpedal.jbig2.JBIG2Decoder.getPageAsJBIG2Bitmap().
Your packaged jbig2.jar counts from 1:
public JBIG2Bitmap getPageAsJBIG2Bitmap(int i)
Current jbig2.jar wants an 0 - based index:
public JBIG2Bitmap getPageAsJBIG2Bitmap(int page)
Is it possible to fix the JBIG2Filter and deliver a newer jbig2.jar with the package?
we will change the deployment with the next release (which is not scheduled yet - can you live with a fork so far?).
Does this mean we are going to see a patch release sent back to the JPedal development team so we can add the fix into the main JBIG2 library?
I guess he meant we will fix our code to work with the newer jbig2.jar. (and package that one)
If you do find any issues, and you send us a patch, we will rebuild the jar and icepdf and bigfaceless also use that version in their PDF renderers.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.