ICEpdf
  1. ICEpdf
  2. PDF-269

Incorrectly decoding ICCBased images

    Details

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

      Description

      The confidential files came in through support. The image contains several images where the images rendered with banding issues. I took a closer look at the images in question and they are using an ICCBased colour profile. We don't support ICCBassed colour profiles for this type of image (FlateDecode) and the code fails over to some older image decode methods. The ICCBAssed colour profile does have an alternative colour specified which is DeviceGray and is supported.

        Activity

        Hide
        Patrick Corless added a comment -

        Updated the makeImageWithRasterFromBytes() method to check for an instance of a ICCBased colourspace and test if a valid alternative colour space was available. This helps insure that we use the makeImageWithRasterFromBytes() code rather then falling back to the fallback code that tries to assemble the image.

        Show
        Patrick Corless added a comment - Updated the makeImageWithRasterFromBytes() method to check for an instance of a ICCBased colourspace and test if a valid alternative colour space was available. This helps insure that we use the makeImageWithRasterFromBytes() code rather then falling back to the fallback code that tries to assemble the image.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: