[ 
https://issues.apache.org/jira/browse/PDFBOX-5360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-5360:
------------------------------------
    Description: 
{noformat}
java.io.EOFException: Can't read 20 bytes
    org.apache.pdfbox.filter.CCITTFaxFilter.decode(CCITTFaxFilter.java:77)
    
org.apache.pdfbox.pdmodel.graphics.image.PDInlineImage.<init>(PDInlineImage.java:90)
    
org.apache.pdfbox.contentstream.operator.graphics.BeginInlineImage.process(BeginInlineImage.java:44)
{noformat}
This is a valid tiny inline image (a hyphen in a type 3 font charproc stream) 
that is 19 bytes long in a file that I can't share. We only need to adjust the 
pushback.

  was:
{noformat}
java.io.EOFException: Can't read 20 bytes
    org.apache.pdfbox.filter.CCITTFaxFilter.decode(CCITTFaxFilter.java:77)
    
org.apache.pdfbox.pdmodel.graphics.image.PDInlineImage.<init>(PDInlineImage.java:90)
    
org.apache.pdfbox.contentstream.operator.graphics.BeginInlineImage.process(BeginInlineImage.java:44)
{noformat}
This is a valid tiny inline image (a hyphen) that is 19 bytes long in a file 
that I can't share. We only need to adjust the pushback.


> EOFException: Can't read 20 bytes
> ---------------------------------
>
>                 Key: PDFBOX-5360
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5360
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.25
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>              Labels: CCITTFaxDecode
>             Fix For: 2.0.26, 3.0.0 PDFBox
>
>
> {noformat}
> java.io.EOFException: Can't read 20 bytes
>     org.apache.pdfbox.filter.CCITTFaxFilter.decode(CCITTFaxFilter.java:77)
>     
> org.apache.pdfbox.pdmodel.graphics.image.PDInlineImage.<init>(PDInlineImage.java:90)
>     
> org.apache.pdfbox.contentstream.operator.graphics.BeginInlineImage.process(BeginInlineImage.java:44)
> {noformat}
> This is a valid tiny inline image (a hyphen in a type 3 font charproc stream) 
> that is 19 bytes long in a file that I can't share. We only need to adjust 
> the pushback.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to