Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Bug
-
2.0.8
-
None
-
None
Description
Dear Sir,
Previously we have used PdfBox1.6.0 API to convert PDF to images.Now we have updated latest version PdfBox2.0.8 quality of image something mesh...
PDFBox 1.6.0
---------------------
List<PDPage> list = document.getDocumentCatalog().getAllPages();
for (PDPage page : list)
PDFBox2.0.8
---------------------
ByteArrayInputStream bis = new ByteArrayInputStream(finalReportData);
PDDocument document = PDDocument.load(bis);
PDFRenderer pdfRenderer = new PDFRenderer(document);
for (int page = 0; page < document.getNumberOfPages(); ++page)
Please find attached screens as well quality of image.Can you please help on this to increase quality of image asap.
Thanks,
-Naga