[
https://issues.apache.org/jira/browse/PDFBOX-4787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17046839#comment-17046839
]
Tilman Hausherr commented on PDFBOX-4787:
-----------------------------------------
The current version is 2.0.19, please retry with that one. The version you are
using is several years old. Also take care to open the InputStream only once,
not twice.
> PDFRenderer freezes
> -------------------
>
> Key: PDFBOX-4787
> URL: https://issues.apache.org/jira/browse/PDFBOX-4787
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.4
> Reporter: Rodion
> Priority: Major
> Attachments: 158201027645.pdf
>
>
> Hello, I try render pfd to jpeg with PDFRenderer:
> PDDocument document = PDDocument.load(is);
> PDDocument document = PDDocument.load(is); PDFRenderer pdfRenderer = new
> PDFRenderer(document);
>
> but in line image = pdfRenderer.renderImageWithDPI(page, RESOLUTION_DEFAULT,
> ImageType.RGB); all freezes
>
> with other files this code working, but with one no. On other pc all files
> rendered. I try use next step:
> System.setProperty("sun.java2d.cmm",
> "sun.java2d.cmm.kcms.KcmsServiceProvider");
> System.setProperty("java.awt.headless", "true");
> but still don't work.Please, help me!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]