You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/03/31 17:58:25 UTC

[jira] [Issue Comment Deleted] (PDFBOX-3297) Infinite loop

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

Tilman Hausherr updated PDFBOX-3297:
------------------------------------
    Comment: was deleted

(was: I was able to render the file at 36dpi but even there it is very slow, and some glyphs are not rendered correctly. Slowness is probably due to a pattern with four type 4 shadings combined with several functions, but that's just a guess at this time.)

> Infinite loop
> -------------
>
>                 Key: PDFBOX-3297
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3297
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: Cheng Chen
>            Assignee: Tilman Hausherr
>         Attachments: infinite_loop.pdf
>
>
> For this PDF file attached, this function will hang:
> public void testNewVersion() throws IOException {
>         PDDocument doc = PDDocument.load(PdfVerificationTest.class.getClassLoader().getResource("infinite_loop.pdf").openStream());
>        PDFRenderer pdfRenderer = new PDFRenderer(doc);
>        for(int i=1;i<doc.getNumberOfPages();i++) {
>             pdfRenderer.renderImageWithDPI(i, 300, ImageType.RGB);
>       }
>     }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org