ICEpdf
  1. ICEpdf
  2. PDF-798

Rendered images are rotated 45 degrees to the left

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.7
    • Fix Version/s: 5.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      All

      Description

      The image for each page of the provided pdf is rendered at a 45 degree angle.

        Activity

        Hide
        Patrick Corless added a comment -

        The images in question use a rarely used /CalGray colour space. Our imaging code doesn't have a case for this in makeImageWithRasterFromBytes() method and as a result we fall back our some fall back code that can't handle the banding.

        I've added a /CalGray handler to the makeImageWithRasterFromBytes() method which is in fact very similar to how we handle device gray.
        The image in question loads correctly and quite a bit faster which is an added bonus.

        Show
        Patrick Corless added a comment - The images in question use a rarely used /CalGray colour space. Our imaging code doesn't have a case for this in makeImageWithRasterFromBytes() method and as a result we fall back our some fall back code that can't handle the banding. I've added a /CalGray handler to the makeImageWithRasterFromBytes() method which is in fact very similar to how we handle device gray. The image in question loads correctly and quite a bit faster which is an added bonus.
        Hide
        Patrick Corless added a comment -

        Making as resolved.

        Show
        Patrick Corless added a comment - Making as resolved.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: