Jack created PDFBOX-5238:
----------------------------
Summary: PDFBox rendering pdf to image missing content in PDF
Key: PDFBOX-5238
URL: https://issues.apache.org/jira/browse/PDFBOX-5238
Project: PDFBox
Issue Type: Bug
Affects Versions: 2.0.20
Reporter: Jack
Attachments: doc1_render_1.png, doc1_render_2.png, doc2.pdf,
doc2_render_1.png, doc2_render_1.png, doc2_render_2.png, doc3.pdf,
doc3_render_1.png, doc3_render_2.png, doc3_render_3.png, doc3_render_4.png,
doc4.pdf, doc4_render_1.png, doc4_render_2.png, doc4_render_3.png, doc5.pdf,
doc5_render_1.png, doc5_render_2.png, doc5_render_3.png, doc5_render_4.png
we found some pdf that couldn't get rendered to image correctly. I have
attached the pdfs and rendered output in the attachment. Some are missing
background, some completely missed content. The render code is as follows
{code:java}
PDFRenderer renderer = new PDFRenderer(document);
image = renderer.renderImageWithDPI(0, dpi, ImageType.RGB);{code}
please check the attachments. Thanks
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]