ICEpdf
  1. ICEpdf
  2. PDF-1000

Wrong colour rendered for PDF content

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1.1
    • Fix Version/s: 6.1.2
    • Component/s: Colour
    • Labels:
      None
    • Environment:
      All

      Description

      With the provided PDF files, some of the text/content should be rendered in magenta but are instead rendered black.

        Activity

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

        This took a while to track down but it turns out that our ICCBased colour space class was making some incorrect assumptions about min and max values that colour components should be bound by. The old code was just using 0 and 1 but we should be looking at the min and max values as defines by the colourspace's range values.

        Show
        Patrick Corless added a comment - This took a while to track down but it turns out that our ICCBased colour space class was making some incorrect assumptions about min and max values that colour components should be bound by. The old code was just using 0 and 1 but we should be looking at the min and max values as defines by the colourspace's range values.
        Hide
        Patrick Corless added a comment -

        I've also made a small tweak to tiling pattern scaling so one of the samples looks better at different zooms.

        Show
        Patrick Corless added a comment - I've also made a small tweak to tiling pattern scaling so one of the samples looks better at different zooms.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48916 Tue Jun 07 14:51:46 MDT 2016 patrick.corless PDF-1000 correct an issue with colour values not being correctly compared to a valid range, update tiling image size for scaling.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/ICCBased.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/pobjects/graphics/TilingPattern.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #49482 Tue Nov 08 09:56:15 MST 2016 patrick.corless PDF-1000 correct an issue with colour values not being correctly compared to a valid range, update tiling image size for scaling.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/TilingPattern.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/ICCBased.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: