[ 
https://issues.apache.org/jira/browse/PDFBOX-3634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15761172#comment-15761172
 ] 

Matthew Caruana Galizia commented on PDFBOX-3634:
-------------------------------------------------

The fix is to add a condition for filters.contains(COSName.JBIG2_DECODE) that 
returns .jb2, to PDImageXObject.getSuffix.

> getSuffix() returns null for JBIG2
> ----------------------------------
>
>                 Key: PDFBOX-3634
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3634
>             Project: PDFBox
>          Issue Type: Bug
>            Reporter: Matthew Caruana Galizia
>            Priority: Minor
>
> When parsing PDFs (by way of Tika) and the Levigo JBIG2 image reader is 
> installed, the following warnings are logged many times over:
> {noformat}
> Dec 18, 2016 5:26:16 PM 
> org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject getSuffix
> WARNING: getSuffix() returns null, filters: 
> COSArrayList{COSArray{[COSName{JBIG2Decode}]}}
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to