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

        Arran Mccullough created issue -
        Patrick Corless made changes -
        Field Original Value New Value
        Fix Version/s 5.1 [ 10675 ]
        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.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42560 Mon Sep 15 14:08:56 MDT 2014 patrick.corless PDF-798 added raster building for Calgray colour space.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/ImageUtility.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: