ICEpdf
  1. ICEpdf
  2. PDF-953

PDF content rendered inverted black and white

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.2, 6.0.0_P01, 6.0.1
    • Fix Version/s: 6.1.1
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      All

      Description

      The provided PDF file is rendered with inverted black and white. The customer is reporting this has been an issue since the ICEpdf 5.0.5 release.

        Activity

        Arran Mccullough created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 6.1 [ 12070 ]
        Hide
        Patrick Corless added a comment -

        A similar bug http://jira.icesoft.org/browse/PDF-736 has the blackIs1 one value in the same spot and is need to decode the image correctly. If the client has a lot of files we can create a system property or potentially a weighted average on the black to white ratio. But for the time being it feels like this image is malformed.

        Show
        Patrick Corless added a comment - A similar bug http://jira.icesoft.org/browse/PDF-736 has the blackIs1 one value in the same spot and is need to decode the image correctly. If the client has a lot of files we can create a system property or potentially a weighted average on the black to white ratio. But for the time being it feels like this image is malformed.
        Patrick Corless made changes -
        Fix Version/s 6.1.1 [ 12975 ]
        Fix Version/s 6.1 [ 12070 ]
        Hide
        Patrick Corless added a comment -

        Added a new system property org.icepdf.core.ccittfax.checkParentBlackIs1 which defaults to false which will fix the rendering of this PDF out of the box.

        Some customers maybe have to set the property to true.

        Fix has been checked into trunk and 6.1 branch.

        Show
        Patrick Corless added a comment - Added a new system property org.icepdf.core.ccittfax.checkParentBlackIs1 which defaults to false which will fix the rendering of this PDF out of the box. Some customers maybe have to set the property to true. Fix has been checked into trunk and 6.1 branch.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48558 Thu Mar 24 08:52:15 MDT 2016 patrick.corless PDF-953 addition of new system property org.icepdf.core.ccittfax.checkParentBlackIs1=false, when enabled will check the parent dictionary for the 'blackIs1' key entry.
        Files Changed
        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 #48559 Thu Mar 24 08:52:25 MDT 2016 patrick.corless PDF-953 addition of new system property org.icepdf.core.ccittfax.checkParentBlackIs1=false, when enabled will check the parent dictionary for the 'blackIs1' key entry.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ImageStream.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49467 Mon Nov 07 15:32:34 MST 2016 patrick.corless PDF-953 addition of new system property org.icepdf.core.ccittfax.checkParentBlackIs1=false, when enabled will check the parent dictionary for the 'blackIs1' key entry.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ImageStream.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: