[
https://issues.apache.org/jira/browse/PDFBOX-4787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050195#comment-17050195
]
Rodion commented on PDFBOX-4787:
--------------------------------
Hello! I try use PDFToImage, in local machine works good, but on server freeze.
I don't understand why. I have two stream: main and other main. This is need
because in programs may be conflict libraries. First main start, I work with it
and when need convert pdf document start new stream main with pdfbox.jar. In
twice stream I try render pdf to image. With other files works good, but this
don't work (freeze). I can stop this stream, but don't get image(
!screenshot-1.png!
> 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, 2.0.19
> Reporter: Rodion
> Priority: Major
> Attachments: 158201027645.pdf, screenshot-1.png
>
>
> Hello, I try render pfd to jpeg with PDFRenderer:
> 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]