ICEpdf
  1. ICEpdf
  2. PDF-761

Page is rendered completely black

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0.1
    • Component/s: Imaging
    • Labels:
      None
    • Environment:
      All
    • Support Case References:
      Show
      Support Case #12840 - https://icesoft.my.salesforce.com/5007000000caM2S Support Case #13269 - https://icesoft.my.salesforce.com/50070000010b8yg Support Case #13293 - https://icesoft.my.salesforce.com/50070000011sx7w Support Case #13530 - https://icesoft.my.salesforce.com/5007000001KrMkP
    • Workaround Description:
      Hide
      Previous work around was -Dorg.icepdf.core.ccittfax.jai=true. But it is now preferred to use org.icepdf.core.ccittfax.jai=false which is also the default value. The Tiff code will now try it's best to load the image using our decode method and if necessary will fallback to JAI loading.
      Show
      Previous work around was -Dorg.icepdf.core.ccittfax.jai=true. But it is now preferred to use org.icepdf.core.ccittfax.jai=false which is also the default value. The Tiff code will now try it's best to load the image using our decode method and if necessary will fallback to JAI loading.

      Description

      With the provided PDF file, the page is rendered completely black. Prior to the 5.0.5 release it was rendered as black (white). There are no obvious exceptions thrown in the logs to help diagnose the issue.

        Activity

        Hide
        Patrick Corless added a comment -

        Fax decode issue.

        Show
        Patrick Corless added a comment - Fax decode issue.
        Hide
        Patrick Corless added a comment -

        Quite a few issue in the attached support cases but in general we are looking at failure of JAI handling code to try different CCITTFax decode methods. Most of the files in question don't include a k value or specify the wrong k value which defines CCITTFax decode type.

        After making a small exception handling tweak as well as combining fixes from PDF-642 and PDF-933 the PDF all load correctly now.

        Show
        Patrick Corless added a comment - Quite a few issue in the attached support cases but in general we are looking at failure of JAI handling code to try different CCITTFax decode methods. Most of the files in question don't include a k value or specify the wrong k value which defines CCITTFax decode type. After making a small exception handling tweak as well as combining fixes from PDF-642 and PDF-933 the PDF all load 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: