Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.4
-
Fix Version/s: 5.0.6
-
Component/s: None
-
Labels:None
-
Environment:JEE application running on GF 3.1.2.2
-
Support Case References:Support Case #12718 - https://icesoft.my.salesforce.com/5007000000acaJc
Description
We're setting a stream to a org.icepdf.core.pobjects.Document and get single images via Document#getPageImage. The attached PDF with gradients from a powerpoint presentation is rendered incorrect. Gradient areas result in simple black boxes.
Activity
Tim Weller
created issue -
Tim Weller
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | powerpoint with gradient.pdf [ 16636 ] |
Tim Weller
made changes -
Comment | [ input pdf ] |
Tim Weller
made changes -
Patrick Corless
made changes -
Fix Version/s | 5.0.6 [ 11381 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #40034 | Fri Feb 14 12:03:47 MST 2014 | patrick.corless | |
Files Changed | ||||
ADD
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/filters/LZWFlateBaseDecode.java
MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/filters/FlateDecode.java MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/filters/LZWDecode.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #40035 | Fri Feb 14 13:04:09 MST 2014 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/filters/LZWFlateBaseDecode.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #40290 | Fri Mar 07 13:34:01 MST 2014 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/filters/LZWDecode.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #40293 | Fri Mar 07 15:33:28 MST 2014 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/filters/FlateDecode.java
MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/filters/LZWDecode.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #40353 | Fri Mar 14 13:50:16 MDT 2014 | patrick.corless | |
Files Changed | ||||
DEL
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/filters/LZWFlateBaseDecode.java
MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/filters/FlateDecode.java MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/filters/LZWDecode.java MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/Stream.java ADD /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/filters/PredictorDecode.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #40356 | Mon Mar 17 13:06:16 MDT 2014 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/filters/PredictorDecode.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #40357 | Mon Mar 17 13:12:34 MDT 2014 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/filters/PredictorDecode.java
|
Arran Mccullough
made changes -
Support Case References | Support Case #12718 - https://icesoft.my.salesforce.com/5007000000acaJc |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #40391 | Thu Mar 20 14:43:19 MDT 2014 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/TilingPattern.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #40392 | Thu Mar 20 14:45:21 MDT 2014 | patrick.corless | creating of t-systems patch for LZW and tiling improvements, |
Files Changed | ||||
ADD
/icepdf/tags/icepdf-5.0.5_tsystems
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #40710 | Fri Apr 04 08:37:59 MDT 2014 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/TilingPattern.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #40758 | Wed Apr 09 14:01:12 MDT 2014 | patrick.corless | |
Files Changed | ||||
MODIFY
/icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/graphics/TilingPattern.java
|
Patrick Corless
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Patrick Corless
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Finally cracked this nut. Long story short, I created a new PredictorDecode class that will be added to the stream decode chain. This approach simplifies the process for LZW and Flate encoded data and avoid any nasty buff fill issue when trying to fill a LZW buffer. Refactored the FlateDecode class so that it no longer does the predictor decode and passes the work off to PredictorDecode class.
No that the images are properly decoded there appears to be a tiling issue which is keeping the gradients from being painted at the correct size.