Can't extract b/w images from PDF
---------------------------------
Key: PDFBOX-955
URL: https://issues.apache.org/jira/browse/PDFBOX-955
Project: PDFBox
Issue Type: Bug
Affects Versions: 1.4.0
Environment: Windows XP
Reporter: Tilman Hausherr
Priority: Blocker
I wrote a test application using org.apache.pdfbox.ExtractImages to... extract
images as PNG. However all images I get are all black or all white when I test
on our own PDF files. I did get correct images from a file that had color
images. To extract, I tried page.convertToImage() and then writing with
ImageIO.write(), but I also tried using PDFImageWriter, neither had success for
b/w images.
If I can attach a file in the next window I will do it. The sample PDF is not
confidential; it does give a warning "getRGBImage returned NULL" but other PDFs
that don't give the warning (but are confidential) also fail.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira