When I try to rasterize pdf with a jbig2 image, pdfbox logs a error:
o.a.p.contentstream.PDFStreamEngine - Cannot read JBIG2 image: jbig2-imageio is not installed.
It's because I haven't add thrid party library like explain here => https://pdfbox.apache.org/2.0/dependencies.html
If I append jbig2-imageio to my dependencies, it's ok.
But if I want to use the second library (JBIG2-Image-Decoder) and add it to my classpath, it's ko. I have got the same error: Cannot read JBIG2 image: jbig2-imageio is not installed.