ICEpdf
  1. ICEpdf
  2. PDF-258

Problem Rendering CCITTFax images

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.4
    • Fix Version/s: 4.2
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      any

      Description

      A client has sent in two confidential files which contain document scans saved using different CCITTFax encodings. ICEpdf can't seem to render the images, I suspect the files are encoded using the same PDF generator but there are no clues either way.

      The images render either white or black and there are no exceptions in the logs.

        Activity

        Hide
        Patrick Corless added a comment -

        I got a poke form Support to take another look at this one. On closer inspection we could load this PDF correctly prior to the 4.1.0 CCITTFax updates. Our older CCITTFaxDecoder class does some funky stuff to try and load propert TIFF image header information which is used by JAI to load the image.

        It turns out that the header work and JAI can load the image. I adjust the stream class to first try and load the fax with JAI and upon failure will fill use the newer CCITTFax code which for the most part does a pretty good job at handling 4.1, 4.2 and 6 compression.

        Show
        Patrick Corless added a comment - I got a poke form Support to take another look at this one. On closer inspection we could load this PDF correctly prior to the 4.1.0 CCITTFax updates. Our older CCITTFaxDecoder class does some funky stuff to try and load propert TIFF image header information which is used by JAI to load the image. It turns out that the header work and JAI can load the image. I adjust the stream class to first try and load the fax with JAI and upon failure will fill use the newer CCITTFax code which for the most part does a pretty good job at handling 4.1, 4.2 and 6 compression.
        Hide
        Patrick Corless added a comment -

        Closing issue.

        Show
        Patrick Corless added a comment - Closing issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: