[ 
https://issues.apache.org/jira/browse/PDFBOX-5404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aparna Subramanian updated PDFBOX-5404:
---------------------------------------
    Description: 
When attempting to convert pages from a PDF to images, I notice that the 
background color of the rendered image is different from the original PDF's 
background color.

I used PDFRenderer.renderImageWithDPI(...) to convert the page to an image.

The pdf used is attached with this ticket, along with a sample output image 
where the background color changed (purple in the original pdf, blue in the 
rendered image).

PDFBox version: 2.0.24

 

  was:
When attempting to convert pages from a PDF to images, I notice that the 
background color of the rendered image is different from the original PDF's 
background color.

I used PDFRenderer.renderImageWithDPI(...) to convert the page to an image.

The pdf used is attached with this ticket.

PDFBox version: 2.0.24

 


> PDF color changed after converting to image using PDFRenderer
> -------------------------------------------------------------
>
>                 Key: PDFBOX-5404
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5404
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.24
>            Reporter: Aparna Subramanian
>            Priority: Major
>         Attachments: rendering_color_changed.pdf
>
>
> When attempting to convert pages from a PDF to images, I notice that the 
> background color of the rendered image is different from the original PDF's 
> background color.
> I used PDFRenderer.renderImageWithDPI(...) to convert the page to an image.
> The pdf used is attached with this ticket, along with a sample output image 
> where the background color changed (purple in the original pdf, blue in the 
> rendered image).
> PDFBox version: 2.0.24
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to