Hello, I will do that.
However: The pdfbox-documentation says: "You can have multiple threads each accessing their own PDDocument object." (https://pdfbox.apache.org/1.8/faq.html) Maybe there should be a hint, that this also depends on optional dependencies as "JBIG2 ImageIO", "JBIG2-Image-Decoder" and "JAI Image I/O Tools Core" (https://pdfbox.apache.org/2.0/dependencies.html ) Felix Gesendet: Montag, 14. März 2016 um 18:39 Uhr Von: "Tilman Hausherr" <[email protected]> An: [email protected] Betreff: Re: JBIG2 Images Am 14.03.2016 um 10:38 schrieb Felix Hermann: > Hello, > > thanks for your advice. > > Another point: It seems that levigo is not thread-safe. When I used it with 5 > threads, all five threads were blocked after about one hour. All threads were > locked in HashMap.getEntry() (after calling a class of levigo). Please open an issue here: https://github.com/levigo/jbig2-imageio/issues Tilman > > Regards > Felix > > > > > -----Ursprüngliche Nachricht----- > Von: Tilman Hausherr [mailto:[email protected]] > Gesendet: Mittwoch, 9. März 2016 19:07 > An: [email protected] > Betreff: Re: JBIG2 Images > > Am 09.03.2016 um 15:11 schrieb Felix Hermann: >> Hello, >> >> we use PDFBox 2.0.0 for converting PDF to images. >> >> We also want to support JBIG2 images. Therefore we would like to use >> the JBIG2-Image-Decoder, which is proposed on your website. (See: >> https://pdfbox.apache.org/2.0/dependencies.html[https://pdfbox.apache.org/2.0/dependencies.html][https://pdfbox.apache.org/2.0/dependencies.html[https://pdfbox.apache.org/2.0/dependencies.html]] >> ) >> >> On your website it says: "These libraries are optional and will be loaded if >> present on the classpath, otherwise support for these image formats will be >> disable and a warning will be logged when an unsupported image is >> encountered." >> >> I downloaded the source code, created a jar-file and put it onto the >> classpath. >> >> However it didn't work. I'm getting the following error: >> >> [09.03.2016 14:37:59] ERROR >> org.apache.pdfbox.contentstream.PDFStreamEngine >> (PDFStreamEngine.java:851) - Cannot read JBIG2 image: jbig2-imageio is >> not installed >> >> I also tried 'JBIG2 ImageIO' by 'levigo'. This worked. However we cannot use >> it, as it is under the GPL-Licence. > > That is the reason why we don't distribute the levigo software. > > Solutions for you: > - Distribute your software without it and have your users download it > - Write your own decoder (you could take the one in PDF.js and write it in > java, it is Apache licensed) > - Ask levigo for an apache license. > > Tilman > >> >> Any help will be appreciated >> >> Regards >> >> Felix >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: >> [email protected][mailto:[email protected]] >> For additional commands, e-mail: >> [email protected][mailto:[email protected]] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [email protected][mailto:[email protected]] > For additional commands, e-mail: > [email protected][mailto:[email protected]] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

