Vijay created PDFBOX-3294:
-----------------------------
Summary: After loading pdf through PDFRenderer(pdf), We are trying
to take the first page and convert that into preview image, but it is sometimes
gets out of memory.
Key: PDFBOX-3294
URL: https://issues.apache.org/jira/browse/PDFBOX-3294
Project: PDFBox
Issue Type: Bug
Components: Rendering
Affects Versions: 2.0.0
Environment: Windows 8.1 OS, 8 GB ram, I5 processor
Reporter: Vijay
Priority: Blocker
Senario 1.
After loading pdf through PDFRenderer(pdf), We are trying to take the first
page and convert that into preview image, but it is sometimes gets out of
memory by calling "pdfRenderer.renderImageWithDPI(0, 300, ImageType.RGB)",
Senario 2.
After loading pdf through PDFRenderer(pdf), We are trying to take the first
page and convert that into preview image, so we are calling
"pdfRenderer.renderImageWithDPI(0, 300, ImageType.RGB)", it takes more time to
return the bufferimage.
after we called ImageIOUtil.writeImage(bufferedImage, fileName, 175) tooks more
time to save it to local and the size of the image is very huge.
for example.
total size of the pdf - 2.7 mb
first page image size - 14 MB.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]