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

Image extraction fails with attached PDF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.8, 2.0.0
    • 1.8.9, 2.0.0
    • Utilities
    • LinuxMint 1.7 64 bits

    Description

      ExtractImages failed with the following exception:
      java.lang.NullPointerException
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.buildHeader(PDCcitt.java:651)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.<init>(PDCcitt.java:497)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt$TiffWrapper.<init>(PDCcitt.java:488)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDCcitt.write2OutputStream(PDCcitt.java:237)
      at org.apache.pdfbox.pdmodel.graphics.xobject.PDXObjectImage.write2file(PDXObjectImage.java:265)
      at org.apache.pdfbox.ExtractImages.processResources(ExtractImages.java:255)
      at org.apache.pdfbox.ExtractImages.extractImages(ExtractImages.java:180)
      at org.apache.pdfbox.ExtractImages.main(ExtractImages.java:80)
      at org.apache.pdfbox.PDFBox.main(PDFBox.java:62)

      Attachments

        1. PDFBOX-2653-1.tiff
          94 kB
          Tilman Hausherr
        2. image.pdf
          95 kB
          Paco Avila

        Activity

          People

            tilman Tilman Hausherr
            monkiki Paco Avila
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: