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:
      any

      Description

      The PDF in question uses several 1x1 images that are encoded using the inline image format. The images are all interpreted as a black pixel. Strangely the image is also marked as an image mask which is a bit strange for a inline image.

      I'll have to dig through the specification to see if there is any special handling for inline image masks.

        Activity

        Hide
        Patrick Corless added a comment -

        The issue is related to the image cache we have for small inline images. The cache helps speed up the decoded of large image tiles implemented with a large number of inline images. In this particular case there are quite a few inline images that are 1x1 but have different fill colours defined in the graphics states and thus the key for the cache is the same even know we have three different colours. The key calcualation needs to be updated to take into account the fill colour.

        Show
        Patrick Corless added a comment - The issue is related to the image cache we have for small inline images. The cache helps speed up the decoded of large image tiles implemented with a large number of inline images. In this particular case there are quite a few inline images that are 1x1 but have different fill colours defined in the graphics states and thus the key for the cache is the same even know we have three different colours. The key calcualation needs to be updated to take into account the fill colour.
        Hide
        Patrick Corless added a comment -

        Update the inline images cache to take into consider the current fill colour. PDF renders correctly now.

        Show
        Patrick Corless added a comment - Update the inline images cache to take into consider the current fill colour. PDF renders correctly now.
        Hide
        Patrick Corless added a comment -

        Marking as closed

        Show
        Patrick Corless added a comment - Marking as closed

          People

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

            Dates

            • Created:
              Updated:
              Resolved: