ICEpdf
  1. ICEpdf
  2. PDF-365

DeviceGray incoded image with colour values outside of 0.0->1.0 range

    Details

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

      Description

      Page two of the pdf posted on the forums contains an image that is encoded in the DeviceGray colour space. Normally colour values are specified in the range of 0..1 but this image is using values 0-255 which is a bit strange.

        Activity

        Hide
        Patrick Corless added a comment -

        Added a range check for values > 1.0f. When encounter it's assumed the value is in the range of 0 .. 255 and is converted to 0..1 range.

        Show
        Patrick Corless added a comment - Added a range check for values > 1.0f. When encounter it's assumed the value is in the range of 0 .. 255 and is converted to 0..1 range.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: