ICEpdf
  1. ICEpdf
  2. PDF-971

Tiling pattern with inline image mask rendering issue

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.1
    • Fix Version/s: 6.1.1, 6.4
    • Labels:
      None
    • Environment:
      Any

      Description

      The file in question has several address boxes that uses a tiling pattern to fill the background. Do to a rendering failure the background is painted black and the text cannot be seen.

      The rendering error happens because of multiple failure points. The first issue is that the tilling pattern size is less then 1x1 which Java can't draw which we have fall back code to paint the current fill color which is black. If we for the image to draw we get a black image with white spots.

      This is because the image is flagged as an image mask. This is the first time we've seen an inline image that is defined as an image mask. As it's a bit strange to have such a property as where to we apply the mask and to what color?

      Further work is needed to figure out how we should be handing the inline image mask. If this is an urgent issue we can remove the fill colour code that is painting black as this would be more inline with the specification.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #48573 Tue Mar 29 10:46:34 MDT 2016 patrick.corless PDF-971 tiling scaling tweaks to improve render quality of tile.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.1.0/icepdf/core/src/org/icepdf/core/util/content/AbstractContentParser.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 #48572 Tue Mar 29 10:46:21 MDT 2016 patrick.corless PDF-971 tiling scaling tweaks to improve render quality of tile.
        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/util/content/AbstractContentParser.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: