krishna prasad created PDFBOX-4747:
--------------------------------------

             Summary: ImageType.BINARY not extracting all charecters
                 Key: PDFBOX-4747
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4747
             Project: PDFBox
          Issue Type: Bug
          Components: Rendering
    Affects Versions: 2.0.18
         Environment: java 1.8 update 201
            Reporter: krishna prasad
         Attachments: sample.pdf, sample.png

I am trying to convert pdfpage to image in binary mode. In the generated Png 
file one block of complete text not visible. Please find the attachments.

 

Code used as below

PDFRenderer renderer = new PDFRenderer(document);

BufferedImage image = renderer.renderImageWithDPI(0, 300, ImageType.BINARY);

ImageIO.write(image, "PNG", new File("<filePath>/myimage.png"));



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to