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

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #50767 Tue Feb 28 10:22:43 MST 2017 patrick.corless PDF-1130 reverting changes, need to look at our APP14 parsing code.
          Files Changed
          Commit graph MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/ImageStream.java
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #50766 Tue Feb 28 09:54:36 MST 2017 patrick.corless PDF-1130 touched up our corner case handling of jpeg without a header definition for colour space.
          Files Changed
          Commit graph MODIFY /icepdf/branches/icepdf-6.2.0/icepdf/core/src/org/icepdf/core/pobjects/ImageStream.java

            People

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

              Dates

              • Created:
                Updated:
                Resolved: