ICEpdf
  1. ICEpdf
  2. PDF-973

JPEG image with unknown color space encoding

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1
    • Fix Version/s: 6.1.1
    • Component/s: Imaging
    • Labels:
      None
    • Environment:
      any

      Description

      The PDF in question contains many JPEG images that have a indexed colour space that is not correctly being decoded. I've spend some time looking at the data trying to make sense of it but have had no luck as of yet.

      Further investigation is needed.

        Activity

        Hide
        Patrick Corless added a comment -

        As it turns out he fixing the JPEG colour issue was only a small part of the actual problem. The PDF encoder seems to be very CMYK centric as each image is actually made up of four images and is blended using multiply. The example document proved to be an excellent example in improving our blending mode support as its shows how setting an alpha composite can break the model as well as issues that can arise if blending is done too soon resulting in a black resultant image.

        The PDF in question is rendering correctly now but there are still some take aways we need to think about and hopefully we can fix a few more remaining issue with our blending mode implementation.

        Show
        Patrick Corless added a comment - As it turns out he fixing the JPEG colour issue was only a small part of the actual problem. The PDF encoder seems to be very CMYK centric as each image is actually made up of four images and is blended using multiply. The example document proved to be an excellent example in improving our blending mode support as its shows how setting an alpha composite can break the model as well as issues that can arise if blending is done too soon resulting in a black resultant image. The PDF in question is rendering correctly now but there are still some take aways we need to think about and hopefully we can fix a few more remaining issue with our blending mode implementation.
        Hide
        Patrick Corless added a comment -

        Fix is checked in on the 6.1 branch and trunk.

        Show
        Patrick Corless added a comment - Fix is checked in on the 6.1 branch and trunk.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: