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

        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: