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 2022/03/30 06:19:00 UTC
[jira] [Commented] (PDFBOX-5404) PDF color changed after converting to image using PDFRenderer
[ https://issues.apache.org/jira/browse/PDFBOX-5404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17514458#comment-17514458 ]
Tilman Hausherr commented on PDFBOX-5404:
-----------------------------------------
Maybe related to PDFBOX-4077 or PDFBOX-5065.
> 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: output_color_is_different.jpeg, 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org