[ 
https://issues.apache.org/jira/browse/PDFBOX-4518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Lehmkühler resolved PDFBOX-4518.
----------------------------------------
    Resolution: Fixed

I've implemented the proposed check and an IOException is thrown if it fails. 
This won't fix the described issue but makes it clear what exactly went wrong, 
so that the user might adjust the scaling value.

The support such high resolutions we would have to rewrite the whole renderer.

[~Eduardo Quintanilla] Thanks for the report

> NegativeArraySizeException thrown when converting PDF to Image
> --------------------------------------------------------------
>
>                 Key: PDFBOX-4518
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4518
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.13, 2.0.15
>         Environment: JRE 1.8.0_191,  Windows 10
>            Reporter: Eduardo Quintanilla
>            Assignee: Andreas Lehmkühler
>            Priority: Major
>             Fix For: 2.0.16, 3.0.0 PDFBox
>
>         Attachments: Bottom_plate-Model.jpg, Bottom_plate-Model.pdf, 
> output.log
>
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to