ICEpdf
  1. ICEpdf
  2. PDF-494

Shading types do not support vector of functions

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.4
    • Fix Version/s: 4.4, 5.0.0 alpha1, 5.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description


      The sample file provided by the forum user uses Gradient paints that contain a vector of functions used to calculate each component colour with a 1 to 1 function type. The specification explains this as well the older way of doing things with just once 1- N function.

      The ShadingType classes need to be updated to handle this new format.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #32301 Thu Nov 22 11:07:11 MST 2012 patrick.corless PDF-494 updated the shading pattern classes to handle a list of functions instead of just a single function.
        Files Changed
        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 #32299 Thu Nov 22 11:00:30 MST 2012 patrick.corless PDF-494 updated the Shadding paint classes to correctly handle an vector of Functions when calculating colour values.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-4.3.3/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingType2Pattern.java
        Commit graph MODIFY /icepdf/branches/icepdf-4.3.3/icepdf/core/src/org/icepdf/core/pobjects/graphics/ShadingType3Pattern.java

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: