Hi Team any update on this ? I want to create a thumb nail for showing a preview. But his converted png is not looking good.
Thanks & Regards, Anoop C From: Cholayil, Anoop Sent: Thursday, November 24, 2016 10:37 PM To: 'Tilman Hausherr'; '[email protected]' Subject: RE: [E] Re: MODERATE for [email protected] Hi, After adding the dependency I am able to create the image, but content of the image is not able to read. Created PNG is below : [cid:[email protected]] Thanks & Regards, Anoop C From: Tilman Hausherr [mailto:[email protected]] Sent: Thursday, November 24, 2016 5:36 AM To: Cholayil, Anoop Subject: RE: [E] Re: MODERATE for [email protected]<mailto:[email protected]> hi, I don't understand your question. "able to create the image but not clear". Please ask on the user mailing list and clarify. Tilman Am 23. November 2016 23:09:10 MEZ, schrieb [email protected]<mailto:[email protected]>: Tanks for the quick response, Able to create the image but not clear. Anoop From: Tilman Hausherr [mailto:[email protected]] Sent: Wednesday, November 23, 2016 4:54 PM To: Cholayil, Anoop Subject: [E] Re: MODERATE for [email protected]<mailto:[email protected]> Add the jbig2 plugin to your classpath. https://pdfbox.apache.org/2.0/dependencies.html Tilman Am 23.11.2016 um 22:50 schrieb dev-reject-1479937818.47612.gjkjncecppakfcbem...@pdfbox.apache.org<mailto:dev-reject-1479937818.47612.gjkjncecppakfcbem...@pdfbox.apache.org>: Betreff: facing some issue while creating image out of scanned pdf Von: [email protected]<mailto:[email protected]> Datum: 23.11.2016 22:49 An: "[email protected]"<mailto:[email protected]> <[email protected]><mailto:[email protected]> Hi Team, Hope you are doing good. I am using PDFBox 2.0.3 for my application, facing some issue while creating image out of scanned pdf. While reading and converting any scanned document to png image it is blank. PDDocument pdDoc = PDDocument.load(new File(“C:/Test/TestPdf.pdf” ); PDFRenderer pdfRenderer = new PDFRenderer(pdDoc); BufferedImage tmpBimThumb = pdfRenderer.renderImage(page, (float) .15); ImageIOUtil.writeImage(tmpBimThumb, “C:/Test/TestPdf /TestPng.png",100); For your reference I am attaching the pdf and converted png too. Please let me know the solution or alternative to convert scanned pdf to iamge. Thanks & Regards, Anoop Cholayil -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
