[
https://issues.apache.org/jira/browse/PDFBOX-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15218988#comment-15218988
]
Tilman Hausherr commented on PDFBOX-3297:
-----------------------------------------
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
> Affects Versions: 2.0.0
> Reporter: Cheng Chen
> 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: [email protected]
For additional commands, e-mail: [email protected]