Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 6.0.0_P01
-
Fix Version/s: 6.0.1
-
Component/s: Imaging
-
Labels:None
-
Environment:any
-
Support Case References:Support Case #13596 - https://icesoft.my.salesforce.com/5007000001SBA8M
-
Workaround Description:
Description
A client has submitted several files that contain CCITTFax images that can not be decoded correctly with out default implementation. Using the system property -Dorg.icepdf.core.ccittfax.jai=true will get the image to load but this must be set manual.
Spent a bit of time on this tracing out the problem. Our default method for decodew appears to work but fails when a rasters is created in the bytes. We have no fall back code for this and the image fails to load. JAI can load this image no problem and should be the default fall back.
Some refactoring was needed to achieve this but the file can no be loaded without having to force JAI loading with org.icepdf.core.ccittfax.jai=true. Over all the changes was successfull combined with fixes for
PDF-761andPDF-642.