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/05/09 09:50:00 UTC

[jira] [Commented] (PDFBOX-4826) PDF rendering produces distorted images at various DPI

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

Tilman Hausherr commented on PDFBOX-4826:
-----------------------------------------

What code are you using to render? Directly to an image or rendering to a graphics device? Do you have the same effect when working from the command line and using PDFToImage? Because that is what I did and all is OK, see attached file.

> PDF rendering produces distorted images at various DPI
> ------------------------------------------------------
>
>                 Key: PDFBOX-4826
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4826
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.19
>         Environment: Java8, docker container
>            Reporter: Himanshu Pandey
>            Priority: Critical
>         Attachments: 05_-_Form_5_old(1).pdf, 05_-_Form_5_old(1)2-tilman.jpg, 300_DPI.jpeg, 301_DPI.jpeg
>
>
> I am getting different output for a pdf document when converting into image.
> At 300 DPI the checkboxes are rendered at random places and have different shapes.
> At 301 or 209 DPI they are being rendered properly. For different DPI it is having this behavior like at 150 DPI it is again distorted and 149 it looks fine. 
>  
> I have attached the pdf. The page number 2 of the pdf document has issues.
>  



--
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