[ 
https://issues.apache.org/jira/browse/PDFBOX-5302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17432581#comment-17432581
 ] 

Tilman Hausherr edited comment on PDFBOX-5302 at 10/21/21, 4:14 PM:
--------------------------------------------------------------------

My development PC has died before I could commit. The problem is a path that 
isn't consumed ( filled/drawn) before the form XObject is done. In 
PageDrawer.showForm() you need to save linePath, replace with empty, and 
restore after done.


was (Author: tilman):
My development PC has died before I could commit. The problem is a path that 
isn't consumed before the form XObject is done. In PageDrawer.showForm() you 
need to save linePath, replace with empty, and restore after done.

> When PDF is converted to an image, the image has a large black rectangle.
> -------------------------------------------------------------------------
>
>                 Key: PDFBOX-5302
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5302
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.24
>         Environment: java
>            Reporter: ken kang
>            Priority: Blocker
>             Fix For: 2.0.25, 3.0.0 PDFBox
>
>         Attachments: 200029_0_ocr.jpeg, pdf200029.pdf
>
>
> When PDF is converted to an image, the image has a large black rectangle.
> image = renderer.renderImageWithDPI(0, 144);
> Please see the attachment for details.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to