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

NegativeArraySizeException thrown when converting PDF to Image

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.13, 2.0.15
    • Fix Version/s: 2.0.16, 3.0.0 PDFBox
    • Component/s: Rendering
    • Labels:
      None
    • Environment:
      JRE 1.8.0_191, Windows 10

      Description

      Trying to export as a PDF image fails with exception NegativeArraySizeException

      Command to reproduce:

      java -jar pdfbox-app-2.0.15.jar PDFToImage -page 1 -dpi 600 -format jpg Bottom_plate-Model.pdf

        Attachments

        1. Bottom_plate-Model.pdf
          2 kB
          Eduardo Quintanilla
        2. output.log
          1 kB
          Eduardo Quintanilla
        3. Bottom_plate-Model.jpg
          2.05 MB
          Eduardo Quintanilla

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              Eduardo Quintanilla Eduardo Quintanilla
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: