ICEpdf
  1. ICEpdf
  2. PDF-247

YCCK to RGB colour conversion produces images with green hue

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      A client has given us a set of PDF that have JPEG images that use the YCCK colour space. We also have quite a few PDF in our test suite. ICEpdf renders these images with a heavy green hue. The algorithms we to convert YCCK to RGB is from adobe but the converted image isn't very close to the benchmark.

        Activity

        Hide
        Patrick Corless added a comment -

        I played around with several different variants of the YCCK to RGB algorithm with out much luck. To try and figure out what was going on I did some RGB colour grabs from the benchmark image and the image rendered in ICEpdf.

        As a result I was able to tweak the ratios of YCCK colour components used to make the RGB colours. I still have to run this though qa but from my test set the results look pretty solid. Marking as resolved for now.

        Show
        Patrick Corless added a comment - I played around with several different variants of the YCCK to RGB algorithm with out much luck. To try and figure out what was going on I did some RGB colour grabs from the benchmark image and the image rendered in ICEpdf. As a result I was able to tweak the ratios of YCCK colour components used to make the RGB colours. I still have to run this though qa but from my test set the results look pretty solid. Marking as resolved for now.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: