Details
Description
An image on a pdf page renders as a black box. This image should be displayed over a background image.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Attachment | error image on background image.doc [ 12480 ] |
| Salesforce Case | [5007000000D4Rhu] |
| Attachment | 9780511757822pre_pi-vi_CBO.pdf [ 12485 ] |
| Salesforce Case | [5007000000D4Rhu] | [5007000000D4Rhu, 5007000000D5bMq] |
| Fix Version/s | 4.2 [ 10243 ] |
| Fix Version/s | 4.1.1 [ 10244 ] | |
| Fix Version/s | 4.2 [ 10243 ] |
| Repository | Revision | Date | User | Message |
| ICEsoft Public SVN Repository | #22527 | Wed Oct 06 06:52:47 MDT 2010 | patrick.corless | |
| Files Changed | ||||
ADD
/icepdf/trunk/icepdf/licenses/CCITTFax_license.txt
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/filters/CCITTFax.java
MODIFY
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Stream.java
ADD
/icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/filters/CCITTFaxDecoder.java
|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |

Given this one a pretty close look, basically it's a JAI failure when decoding CCITTfax group 2 formate. I've been looking at alternative libraries to decode the image in question but I keep running into a fraction byte problem on this file and a few others.
Where dealing with a 1 component, 1 bit colour definitions. So in our example that s 2050x1x1 which is 2050. The factional bit formula is 2050 & 0x7 = 2. However the only way to get the image to show up correctly is to use a factional bit of 6 which I can't seem to figure out why this is the case. The only thing I can assume is that the width of the image is incorrectly stated.