ICEpdf
  1. ICEpdf
  2. PDF-871

PDF text is renderted too bright/faint

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.2
    • Fix Version/s: 6.0
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      All

      Description

      With the provided PDF file, the text in the file is at first rendered very light/faint. After approximately 1 second it is rendered a bit darker but is still quite light/faint compared to Adobe.

        Activity

        Arran Mccullough created issue -
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45782 Wed Jul 22 10:15:50 MDT 2015 patrick.corless PDF-871 changed how we decode 8bit device gray images. We now convert to RGB instead of creating a gray image.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45783 Wed Jul 22 10:18:17 MDT 2015 patrick.corless PDF-871 changed how we decode 8bit device gray images. We now convert to RGB instead of creating a gray image.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Hide
        Patrick Corless added a comment -

        The image is question is a 8 bit DeviceGray image. We normally build a a compatible colour model, colour space and the final buffered image. For some reason the image is decoded with colours that are slighly lighter then expected. After quite a bit of experimenting I've moved to converting the Y device gray colour data to RGB which has resulted in a improved colour representation when compared to other viewers.

        The fix seems good enough but there is a high risk of regressions. I'll need to run a full QA run.

        Show
        Patrick Corless added a comment - The image is question is a 8 bit DeviceGray image. We normally build a a compatible colour model, colour space and the final buffered image. For some reason the image is decoded with colours that are slighly lighter then expected. After quite a bit of experimenting I've moved to converting the Y device gray colour data to RGB which has resulted in a improved colour representation when compared to other viewers. The fix seems good enough but there is a high risk of regressions. I'll need to run a full QA run.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45784 Thu Jul 23 08:31:06 MDT 2015 patrick.corless PDF-871 added decode to new gray to rgb conversion.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45785 Thu Jul 23 08:31:17 MDT 2015 patrick.corless PDF-871 added decode to new gray to rgb conversion.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Hide
        Patrick Corless added a comment -

        Had a couple of regressions in QA related to the new method not taking into account the decode array. Working well now, marking as fixed.

        Show
        Patrick Corless added a comment - Had a couple of regressions in QA related to the new method not taking into account the decode array. Working well now, marking as fixed.
        Patrick Corless made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 5.2 [ 10970 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #45802 Wed Jul 29 09:56:37 MDT 2015 patrick.corless PDF-871 added decode to new gray to rgb conversion.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/PropertiesManager.java
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/util/FontPropertiesManager.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/fonts/FontManager.java
        Hide
        Patrick Corless added a comment -

        Marking as closed

        Show
        Patrick Corless added a comment - Marking as closed
        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: