[ https://issues.apache.org/jira/browse/PDFBOX-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17821580#comment-17821580 ]
liu commented on PDFBOX-5776: ----------------------------- (y)thanks > DataFormatException: invalid distance too far back > -------------------------------------------------- > > Key: PDFBOX-5776 > URL: https://issues.apache.org/jira/browse/PDFBOX-5776 > Project: PDFBox > Issue Type: Bug > Components: Parsing > Affects Versions: 2.0.30, 3.0.1 PDFBox > Reporter: liu > Assignee: Tilman Hausherr > Priority: Major > Fix For: 2.0.31, 3.0.2 PDFBox, 4.0.0 > > Attachments: image-2024-02-28-09-53-49-944.png, > image-2024-02-28-10-10-27-787.png, image-2024-02-28-10-10-55-890.png, > image1.pdf, screenshot-1.png > > > [^image1.pdf] > > ^java.io.IOException: java.util.zip.DataFormatException: invalid distance too > far back^ > ^at org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:58)^ > ^at > org.apache.pdfbox.pdmodel.graphics.image.PDInlineImage.<init>(PDInlineImage.java:90)^ > ^at > org.apache.pdfbox.contentstream.operator.graphics.BeginInlineImage.process(BeginInlineImage.java:44)^ > ^at > org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:966)^ > ^at > org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:541)^ > ^at > org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:516)^ > ^at > org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:155)^ > ^at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:284)^ > ^at > org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:355)^ > ^at > org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:272)^ > ^at org.apache.pdfbox.Test.main(Test.java:289)^ > ^Caused by: java.util.zip.DataFormatException: invalid distance too far back^ > ^at java.util.zip.Inflater.inflateBytes(Native Method)^ > ^at java.util.zip.Inflater.inflate(Inflater.java:259)^ > ^at java.util.zip.Inflater.inflate(Inflater.java:280)^ > ^at org.apache.pdfbox.filter.FlateFilter.decompress(FlateFilter.java:86)^ > ^at org.apache.pdfbox.filter.FlateFilter.decode(FlateFilter.java:50)^ > ^... 10 more^ -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org