ICEpdf
  1. ICEpdf
  2. PDF-1130

Error detecting JPEG colour space.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.2.2
    • Fix Version/s: 6.2.4
    • Component/s: Colour, Imaging
    • Labels:
      None
    • Environment:
      any

      Description

      The document in question has a small header image that doesn't appear to have any header data in the stream do indicate which colour model is being used. The pdf colour space for the mage is CMYK and renders the image correctly.

      Our fall back code for missing header data doesn't look at the orginal colour space of the image as defined by the PDF object. I've added a fairly trivial check for CMYK before falling back on YCbCr.

      Need to do a full QA run but the fix should be valid

        Issue Links

          Activity

          Hide
          Patrick Corless added a comment -

          The QA run failed pretty bad so I think we need to dig a little deeper on our end. We have code that tries to figure out which type of APP14 is used so we can figure out which colour mode to apply. Will need to pull out the JPEG spec to see if we are doing the APP14 parsing correctly.

          Show
          Patrick Corless added a comment - The QA run failed pretty bad so I think we need to dig a little deeper on our end. We have code that tries to figure out which type of APP14 is used so we can figure out which colour mode to apply. Will need to pull out the JPEG spec to see if we are doing the APP14 parsing correctly.
          Hide
          Patrick Corless added a comment -

          same colour issue.

          Show
          Patrick Corless added a comment - same colour issue.
          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: