ICEpdf
  1. ICEpdf
  2. PDF-1228

Incorrect decode of device RGB with 4 bits per component.

    Details

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

      Description

      A client has submitted a PDF that that has numerous inline images that hava a common deviceRGB colour space but an oncommon 4 bit's per component data packing. The images is rendered slightly yellow instead of white.

        Activity

        Hide
        Patrick Corless added a comment -

        The 4-bit packing makes the image decode fall back on our RawDecoder which assumes all rgb images types have 8 bits per component. I've update the method to handle the other bit per components alternatively. The image now renders correctly.

        Show
        Patrick Corless added a comment - The 4-bit packing makes the image decode fall back on our RawDecoder which assumes all rgb images types have 8 bits per component. I've update the method to handle the other bit per components alternatively. The image now renders correctly.
        Hide
        Patrick Corless added a comment -

        Marking as fixed.

        Show
        Patrick Corless added a comment - Marking as fixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: