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

ICCBased color spaces wrong color output

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.8
    • Fix Version/s: 2.0.9, 3.0.0 PDFBox
    • Component/s: PDModel, Rendering
    • Labels:
      None

      Description

      When rendering page with embedded ICC_profile (DeviceCMYK) it has a wrong colors, like semitransparent white plane covering the page
      See the render output

      Tried patches suggested here
      https://forums.adobe.com/thread/1914790
      https://github.com/haraldk/TwelveMonkeys/blob/master/imageio/imageio-jpeg/src/main/java/com/twelvemonkeys/imageio/plugins/jpeg/JPEGImageReader.java

      and trying one by one found that problem is connected to profileClass

      Here is the one of proposed patches I've found and which worked for me
      Please review proposed patch

        Attachments

        1. highResPdf.pdf
          1.32 MB
          Michael Vakulich
        2. highResPdf-1.jpg
          1.63 MB
          Michael Vakulich
        3. compare.jpg
          556 kB
          Michael Vakulich
        4. ICCBased_updated.patch
          2 kB
          Michael Vakulich

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                m.vakulich Michael Vakulich
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: