You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Eduardo Quintanilla <eq...@bnext.mx> on 2020/01/09 00:00:37 UTC

PDFStreamEngine swallows errors when jbig2-imageio is not installed

Hello,

I would like to know if the Apache PDFBox JBIG2 plugin is loaded to solve a weird bug where the plugin is not present and the JAR jbig2-imageio is definitely added in the classpath.(Sometimes it works).
After executing ImageIO.scanForPlugins()  the issue is solved. Any recommendations of the best way of determining if the plugin is loaded? Maybe a class to be checked that is loaded in the classpath, Is that a good idea?
Related issue: https://issues.apache.org/jira/browse/PDFBOX-3760

Best regards,
Eduardo Guadalupe Quintanilla Flores


The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
La información transmitida está destinada únicamente a la persona o entidad a quien que va dirigida y puede contener información confidencial y/o material privilegiado. Cualquier revisión, retransmisión, difusión u otros usos, o cualquier acción tomada por personas o entidades distintas al destinatario basándose en esta información está prohibida. Si usted recibe este mensaje por error, por favor contacte al remitente y elimine el material de cualquier computadora.

Re: PDFStreamEngine swallows errors when jbig2-imageio is not installed

Posted by Tilman Hausherr <TH...@t-online.de>.
Hi,

Call ImageIO.getImageReadersByFormatName() and see what result you get.

Tilman

Am 09.01.2020 um 01:00 schrieb Eduardo Quintanilla:
> Hello,
>
> I would like to know if the Apache PDFBox JBIG2 plugin is loaded to solve a weird bug where the plugin is not present and the JAR jbig2-imageio is definitely added in the classpath.(Sometimes it works).
> After executing ImageIO.scanForPlugins()  the issue is solved. Any recommendations of the best way of determining if the plugin is loaded? Maybe a class to be checked that is loaded in the classpath, Is that a good idea?
> Related issue: https://issues.apache.org/jira/browse/PDFBOX-3760
>
> Best regards,
> Eduardo Guadalupe Quintanilla Flores
>
>
> The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.
> La información transmitida está destinada únicamente a la persona o entidad a quien que va dirigida y puede contener información confidencial y/o material privilegiado. Cualquier revisión, retransmisión, difusión u otros usos, o cualquier acción tomada por personas o entidades distintas al destinatario basándose en esta información está prohibida. Si usted recibe este mensaje por error, por favor contacte al remitente y elimine el material de cualquier computadora.
>
> ---------------------------------------------------------------------
> 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