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

ICCBased color spaces wrong color output

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.8
    • 2.0.9, 3.0.0 PDFBox
    • PDModel, Rendering
    • 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. ICCBased_updated.patch
          2 kB
          Michael Vakulich
        2. highResPdf-1.jpg
          1.63 MB
          Michael Vakulich
        3. highResPdf.pdf
          1.32 MB
          Michael Vakulich
        4. compare.jpg
          556 kB
          Michael Vakulich

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: