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

Andreas Lehmkühler commented on PDFBOX-1235:
--------------------------------------------

I can't confirm the described behaviour. It works fine using PDFReader and 
ExtractImage. I've tried every version from 1.2.1 up to the current trunk.

Which version of PDFBox are you using? 
                
> Exception in thread "main" java.util.zip.ZipException: unknown compression 
> method
> ---------------------------------------------------------------------------------
>
>                 Key: PDFBOX-1235
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1235
>             Project: PDFBox
>          Issue Type: Bug
>            Reporter: phani kumar janapati
>         Attachments: Golden32.pdf
>
>
> Exception in thread "main" java.util.zip.ZipException: unknown compression 
> method
>       at java.util.zip.InflaterInputStream.read(Unknown Source)
>       at org.pdfbox.filter.FlateFilter.decode(FlateFilter.java:97)
>       at org.pdfbox.cos.COSStream.doDecode(COSStream.java:290)
>       at org.pdfbox.cos.COSStream.doDecode(COSStream.java:243)
>       at org.pdfbox.cos.COSStream.getUnfilteredStream(COSStream.java:170)
>       at 
> org.pdfbox.pdmodel.common.PDStream.createInputStream(PDStream.java:226)
>       at org.pdfbox.pdmodel.common.PDStream.getByteArray(PDStream.java:481)
>       at 
> org.pdfbox.pdmodel.graphics.xobject.PDPixelMap.getRGBImage(PDPixelMap.java:138)
>       at com.phani.PDFTextParser.read_pdf(PDFTextParser.java:143)
>       at com.phani.PDFTextParser.main(PDFTextParser.java:108)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to