Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.7
-
Fix Version/s: 5.1
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #13013 - https://icesoft.my.salesforce.com/5007000000lyikn
Description
The image for each page of the provided pdf is rendered at a 45 degree angle.
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.