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

PDF image extraction fails with message "Numbers of source Raster bands and source color space components do not match"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.0.4, 2.0.8
    • None
    • Rendering
    • None

    Description

      When running PDFToImage on the attached file, PdfBox crashes with message "Numbers of source Raster bands and source color space components do not match"

      This can be tested from the command line like this:

      java -jar pdfbox-app-2.0.8.jar PDFToImage -dpi 300 -color rgba ImageExtractionError.pdf

      Attachments

        1. ImageExtractionError.pdf
          548 kB
          Bjorn Misseghers

        Activity

          People

            Unassigned Unassigned
            bjorn.misseghers Bjorn Misseghers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: