Return-Path: X-Original-To: apmail-pdfbox-users-archive@www.apache.org Delivered-To: apmail-pdfbox-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B77B8185F5 for ; Mon, 14 Mar 2016 17:39:38 +0000 (UTC) Received: (qmail 98670 invoked by uid 500); 14 Mar 2016 17:39:38 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 98646 invoked by uid 500); 14 Mar 2016 17:39:38 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Received: (qmail 98634 invoked by uid 99); 14 Mar 2016 17:39:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Mar 2016 17:39:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A6B38C1723 for ; Mon, 14 Mar 2016 17:39:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.798 X-Spam-Level: * X-Spam-Status: No, score=1.798 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id F5fS4sdqbmPL for ; Mon, 14 Mar 2016 17:39:35 +0000 (UTC) Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 117C25FAE7 for ; Mon, 14 Mar 2016 17:39:35 +0000 (UTC) Received: from fwd29.aul.t-online.de (fwd29.aul.t-online.de [172.20.26.134]) by mailout11.t-online.de (Postfix) with SMTP id 01E6116E1E for ; Mon, 14 Mar 2016 18:39:28 +0100 (CET) Received: from [192.168.2.104] (E2W63QZLghMqsKjXvfkhyIiIzZeOanOrc4rEMIQPE0+w5FH4qigN9UbYpvGk86vgz9@[217.231.135.102]) by fwd29.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1afWSj-4BXh0i0; Mon, 14 Mar 2016 18:39:25 +0100 Subject: Re: JBIG2 Images To: users@pdfbox.apache.org References: From: Tilman Hausherr Message-ID: <56E6F75E.3050900@t-online.de> Date: Mon, 14 Mar 2016 18:39:42 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-ID: E2W63QZLghMqsKjXvfkhyIiIzZeOanOrc4rEMIQPE0+w5FH4qigN9UbYpvGk86vgz9 X-TOI-MSGID: 08356460-e080-402d-b57b-063cc562ad54 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:THausherr@t-online.de] > Gesendet: Mittwoch, 9. März 2016 19:07 > An: users@pdfbox.apache.org > 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] ) >> >> 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: users-unsubscribe@pdfbox.apache.org[mailto:users-unsubscribe@pdfbox.apache.org] >> For additional commands, e-mail: users-help@pdfbox.apache.org[mailto:users-help@pdfbox.apache.org] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org[mailto:users-unsubscribe@pdfbox.apache.org] > For additional commands, e-mail: users-help@pdfbox.apache.org[mailto:users-help@pdfbox.apache.org] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org > For additional commands, e-mail: users-help@pdfbox.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org For additional commands, e-mail: users-help@pdfbox.apache.org