ICEpdf
  1. ICEpdf
  2. PDF-173

CCITTFax inverted colour issue.

    Details

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

      Description

      The Image in question is a CCITTFax image. I'll have to create a but for this as it looks like we aren't correctly handling the decode param notation as it isn't a standard form. Would have to do little more testing but from the dictionary entry I suspect the K value isn't being correctly parsed and the columns value for that matter.

      7 0 obj
      << /Type /XObject /Subtype /Image /Name /Obj7 /Width 2040 /Height 2640 /BitsPerComponent 1 /ImageMask true /Filter [/FlateDecode /CCITTFaxDecode] /DecodeParms [null << /K -1 /Columns 2040 >> ] /Length 8 0 R >>

        Activity

        Hide
        Geert De Baets added a comment -

        I have the same problem.
        I have a PDF with 2 pages as (scanned) image, i suppose.

        When opening the pdf with icePDF viewer, i only see black pages.

        Is there any progression on this issue?

        Show
        Geert De Baets added a comment - I have the same problem. I have a PDF with 2 pages as (scanned) image, i suppose. When opening the pdf with icePDF viewer, i only see black pages. Is there any progression on this issue?
        Hide
        Patrick Corless added a comment -

        I've retested this issue with 4.1.0 and can't seem to reproduce the original problem. I ran ICEpdf 4.1.0 with JAI installed and the image showed up correctly.

        Show
        Patrick Corless added a comment - I've retested this issue with 4.1.0 and can't seem to reproduce the original problem. I ran ICEpdf 4.1.0 with JAI installed and the image showed up correctly.
        Hide
        Patrick Corless added a comment -

        The K value is getting properly handled but the image still isn't loading. When an image can't be loaded we usually fail to black which is likely not the best thing to do. Some more work needs to be done to see if we can't fix this in the next major release.

        Show
        Patrick Corless added a comment - The K value is getting properly handled but the image still isn't loading. When an image can't be loaded we usually fail to black which is likely not the best thing to do. Some more work needs to be done to see if we can't fix this in the next major release.
        Hide
        Patrick Corless added a comment -

        I've added a sample file to the support page, sample has private data so we can't post is publicly.

        Show
        Patrick Corless added a comment - I've added a sample file to the support page, sample has private data so we can't post is publicly.
        Hide
        Patrick Corless added a comment -

        Marking as resolved, files seem to render correctly

        Show
        Patrick Corless added a comment - Marking as resolved, files seem to render correctly

          People

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

            Dates

            • Created:
              Updated:
              Resolved: