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

Eduardo Quintanilla edited comment on PDFBOX-4518 at 4/24/19 2:18 PM:
----------------------------------------------------------------------

That would be great, as a workaround i am generating the image with ICEpdf but 
i am depending in a seemingly unrelated exception. Maybe a precheck method for 
supported file verification could be added.


was (Author: eduardo quintanilla):
That would be great for now i implemented a workaround to generate the image 
with ICEpdf but i am depending in a seeming unrelated exception. Maybe a 
precheck method for supported files could be added.

> 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
>            Priority: Major
>         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