[ 
https://issues.apache.org/jira/browse/PDFBOX-4518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16827967#comment-16827967
 ] 

ASF subversion and git services commented on PDFBOX-4518:
---------------------------------------------------------

Commit 1858324 from [email protected] in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1858324 ]

PDFBOX-4518: throw an IOException if the size (w*h) of the output image exceeds 
the maximum value Integer.MAX_VALUE to avoid a misleading 
NegativeArraySizeException

> 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