You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2019/04/22 20:20:00 UTC

[jira] [Commented] (PDFBOX-4518) NegativeArraySizeException thrown when converting PDF to Image

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

Andreas Lehmkühler commented on PDFBOX-4518:
--------------------------------------------

I can confirm the issue but it is limited to high dpi values. It works fine e.g. for 300 dpi. It seems to be a JDK/JRE issue but I didn't dig deeper into it to be sure

> 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.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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org