You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2020/01/22 04:36:00 UTC
[jira] [Closed] (PDFBOX-4747) ImageType.BINARY not extracting all
charecters
[ https://issues.apache.org/jira/browse/PDFBOX-4747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr closed PDFBOX-4747.
-----------------------------------
Resolution: Not A Bug
Closing as this isn't a bug. You can still comment or reopen.
> 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
> Priority: Major
> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org