ICEpdf
  1. ICEpdf
  2. PDF-920

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
    • Fix Version/s: 6.0.1
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      All

      Description

      When the provided PDF if rendered in ICEpdf, the white and black colours are inverted so white is rendered black and black is rendered white.

        Activity

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

        For some reason we aren't respecting the Decode[1 0] array for jbig2. We have some common code to handle this, should be a quick fix.

        Show
        Patrick Corless added a comment - For some reason we aren't respecting the Decode [1 0] array for jbig2. We have some common code to handle this, should be a quick fix.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46142 Wed Oct 28 08:16:19 MDT 2015 patrick.corless PDF-920 added utility method to add decode support for grayscale images, 1, 2, 4 bit, generic but is used from in the jbig2 decode process.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/ImageStream.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46143 Wed Oct 28 08:17:01 MDT 2015 patrick.corless PDF-920 added utility method to add decode support for grayscale images, 1, 2, 4 bit, generic but is used from in the jbig2 decode process.
        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
        Hide
        Patrick Corless added a comment -

        Added a new utility to handle the the decode array on 1, 2 and 4 bits per component. The method is generic but is currently only used for decoding jbig2 Device Gray images.

        Show
        Patrick Corless added a comment - Added a new utility to handle the the decode array on 1, 2 and 4 bits per component. The method is generic but is currently only used for decoding jbig2 Device Gray images.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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: