Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5738

Wrong colors in PDF since PDFBOX-5488

    XMLWordPrintableJSON

Details

    Description

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

      Attachments

        1. Rechnung 983312924 (Carbagas).pdf
          219 kB
          Oliver Schmidtmer
        2. gre_research_validiity_data_page1.jpg
          256 kB
          Oliver Schmidtmer
        3. Rechnung 983312924 (Carbafas)_page1.jpg
          433 kB
          Oliver Schmidtmer
        4. PDFBOX-5488-p1.pdf-1-old.png
          103 kB
          Tilman Hausherr
        5. PDFBOX-5488-p1.pdf-new.png
          130 kB
          Tilman Hausherr

        Activity

          People

            tilman Tilman Hausherr
            Schmidor Oliver Schmidtmer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: