ICEpdf
  1. ICEpdf
  2. PDF-870

Section of PDF rendered black

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.6, 5.0.6_P01, 5.0.7, 5.1.1, 5.1.2
    • Fix Version/s: 6.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      All

      Description

      With the provided PDF file there is a section of the PDF that is rendered as black. Initial testing with the 5.1.2 release I could see an exception in the logs but I wasn't able to reproduce this in recent tests. The issue looks to have started with the 5.0.6 release as the section renders fine with 5.0.5.

        Activity

        Hide
        Patrick Corless added a comment -

        There where a couple problems here. The first was an issue in how we interpreted the Indexed colour value in the colour space. The second was the image tile used to fill the background in question was < 1x1 in size, actually just less then 0.97x0.97. So to help get the tile to render instead of the current fill colour (black) a little rounding was added as java2d needs integers.

        PDF renders correctly now.

        Show
        Patrick Corless added a comment - There where a couple problems here. The first was an issue in how we interpreted the Indexed colour value in the colour space. The second was the image tile used to fill the background in question was < 1x1 in size, actually just less then 0.97x0.97. So to help get the tile to render instead of the current fill colour (black) a little rounding was added as java2d needs integers. PDF renders correctly now.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: