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

        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49468 Mon Nov 07 15:39:30 MST 2016 patrick.corless PDF-973 updates to how and when we apply blending modes.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        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.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48597 Fri Apr 01 13:58:17 MDT 2016 patrick.corless PDF-973 updates to how and when we apply blending modes.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48595 Fri Apr 01 10:05:08 MDT 2016 patrick.corless PDF-973 updates to how and when we apply blending modes.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/ImageStream.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48594 Fri Apr 01 10:04:57 MDT 2016 patrick.corless PDF-973 updates to how and when we apply blending modes.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ImageStream.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Arran Mccullough made changes -
        Support Case References Support Case #13676 - https://icesoft.my.salesforce.com/5007000001YHKs0
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.1.1 [ 12975 ]
        Patrick Corless created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: