ICEpdf
  1. ICEpdf
  2. PDF-1160

JPEG colour model selection issue.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.4
    • Fix Version/s: 6.3.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      A community member has posted a file that contains three jpeg images that we having trouble distinguishing YCbCr and Cmyk colour spaces. We are incorrectly treating it as Cmyk instead of YCbCr.

      I've verified that the images contain the APPE PhotometricInterpretation valued as RGB which we might be able to use as a means to determine the correct 3 component colour mode.

        Activity

        Hide
        Patrick Corless added a comment -

        I've added a code snippet that searches for the Adobe data in the JPEG meta data and returns the value transform key. A value of 1 is YCbCr and 2 is YCCK,

        Show
        Patrick Corless added a comment - I've added a code snippet that searches for the Adobe data in the JPEG meta data and returns the value transform key. A value of 1 is YCbCr and 2 is YCCK,
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: