Printing a PDF with an image inside show black.
-----------------------------------------------
Key: PDFBOX-1147
URL: https://issues.apache.org/jira/browse/PDFBOX-1147
Project: PDFBox
Issue Type: Bug
Affects Versions: 1.6.0
Environment: Windows XP SP3 32 bit
Kava 1.6.0_27
Reporter: Rafa Hernandez
I have a PDF with a image inside.
When i print the PDF the image show corrupted similar a black area.
In the java console:
25-oct-2011 13:12:39 org.apache.pdfbox.pdmodel.graphics.xobject.PDPixelMap
getRGBImage
GRAVE: java.io.StreamCorruptedException: Error: data is null
java.io.StreamCorruptedException: Error: data is null
at org.apache.pdfbox.filter.LZWFilter.decode(LZWFilter.java:82)
at org.apache.pdfbox.cos.COSStream.doDecode(COSStream.java:301)
at org.apache.pdfbox.cos.COSStream.doDecode(COSStream.java:229)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira