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 2023/12/19 10:03:00 UTC

[jira] [Resolved] (PDFBOX-5738) Wrong colors in PDF since PDFBOX-5488

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

Tilman Hausherr resolved PDFBOX-5738.
-------------------------------------
      Assignee: Tilman Hausherr
    Resolution: Fixed

Thanks [~Schmidor] and [~haraldk76]; I'll test the YCbCrConverter separately.

> Wrong colors in PDF since PDFBOX-5488
> -------------------------------------
>
>                 Key: PDFBOX-5738
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5738
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.30, 3.0.1 PDFBox
>            Reporter: Oliver Schmidtmer
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.31, 3.0.2 PDFBox, 4.0.0
>
>         Attachments: PDFBOX-5488-p1.pdf-1-old.png, PDFBOX-5488-p1.pdf-new.png, Rechnung 983312924 (Carbafas)_page1.jpg, Rechnung 983312924 (Carbagas).pdf, gre_research_validiity_data_page1.jpg
>
>
> Since the workaround for PDFBOX-5488, the attached PDF has wrong colors.
> The base issue from PDFBOX-5488 might be a difference between the reported color space from the metadata-tree for the user and the raw pixel data when readRaster is used, at least if I understand this correctly:
> [https://github.com/haraldk/TwelveMonkeys/issues/571]
> For the default JPEG Image Reader this is not a problem, as reader.getImageMetadata throws an Exception "javax.imageio.IIOException: JFIF APP0 must be first marker after SOI" and "getAdobeTransformByBruteForce" is used instead of "getAdobeTransform".



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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