Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5360

EOFException: Can't read 20 bytes

    XMLWordPrintableJSON

Details

    Description

      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)
      

      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.

      Attachments

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              tilman Tilman Hausherr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: