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

NegativeArraySizeException thrown when converting PDF to Image

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.13, 2.0.15
    • 2.0.16, 3.0.0 PDFBox
    • Rendering
    • None
    • 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.jpg
          2.05 MB
          Eduardo Quintanilla
        2. Bottom_plate-Model.pdf
          2 kB
          Eduardo Quintanilla
        3. output.log
          1 kB
          Eduardo Quintanilla

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: