[
https://issues.apache.org/jira/browse/PDFBOX-3297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15220214#comment-15220214
]
ASF subversion and git services commented on PDFBOX-3297:
---------------------------------------------------------
Commit 1737258 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1737258 ]
PDFBOX-3297: optimize function creation
> 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: [email protected]
For additional commands, e-mail: [email protected]