ICEpdf
  1. ICEpdf
  2. PDF-925

Texture not being painted using correct colour.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0_P01
    • Fix Version/s: 6.0.1
    • Component/s: Colour, Core/Parsing, Imaging
    • Labels:
      None
    • Environment:
      any

      Description

      The file in question has a pattern or image used for the house plans siding. Instead of a beige colour being painted only black is shown. Further investigation is needed to determine the cause of the issue.

        Activity

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

        This turned out to be a great test case. The relatively simple tiling pattern cell was relatively small but had matrix that was easy to visualize. After quite a bit of experimenting I've made some changes that scale a pattern tile as the zoom of the PDF increases. This results in the ability to draw a patterns detail at higher zoom values. There appears to be a slight issue with the tile starting position but over the effect make a lot of PDF look at lot better.

        Show
        Patrick Corless added a comment - This turned out to be a great test case. The relatively simple tiling pattern cell was relatively small but had matrix that was easy to visualize. After quite a bit of experimenting I've made some changes that scale a pattern tile as the zoom of the PDF increases. This results in the ability to draw a patterns detail at higher zoom values. There appears to be a slight issue with the tile starting position but over the effect make a lot of PDF look at lot better.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46159 Mon Nov 02 12:53:40 MST 2015 patrick.corless PDF-925 addition of scaling pattern tile painting.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingPattern.java
        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/Pattern.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingType3Pattern.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingType2Pattern.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46160 Mon Nov 02 12:54:11 MST 2015 patrick.corless PDF-925 addition of scaling pattern tile painting.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingType3Pattern.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingPattern.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/graphics/Pattern.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/graphics/TilingPattern.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingType2Pattern.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.java
        Hide
        Patrick Corless added a comment -

        Checked fixes on the 6 P01 branch and the trunk.

        Show
        Patrick Corless added a comment - Checked fixes on the 6 P01 branch and the trunk.
        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:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: