[iText-questions] InlineImageParseException: Could not find image data or EI

2014-09-04 Thread Benjamin Allen
We have some PDFs that have recently been throwing the following errors
when attempting to call the processContent method. I have noticed that a
few folks had noticed this with earlier versions of iText, but we are
currently using iText 5.5.0. I wish I could provide the PDF, but it has a
bunch of proprietary and confidential information in it.

It appears there are some acknowledged bugs with this code based on the
JavaDoc of the InlineImageUtils.java class:

// read all content until we reach an EI operator surrounded by
whitespace.
// The following algorithm has two potential issues: what if the
image stream
// contains wsEIws ?
// Plus, there are some streams that don't have the ws before the
EI operator
// it sounds like we would have to actually decode the content
stream, which
// I'd rather avoid right now.

Is there any active development going on that would solve this issue for
some PDFs that addresses the whitespace issues?

[2014-09-02 18:45:52,433|ERROR|RESTService|genericException|88] Could not
find image data or EI
ExceptionConverter:
com.itextpdf.text.pdf.parser.InlineImageUtils$InlineImageParseException:
Could not find image data or EI
 at com.itextpdf.text.pdf.parser.InlineImageUtils.parseInlineImageSamples(
InlineImageUtils.java:386)
 at com.itextpdf.text.pdf.parser.InlineImageUtils.parseInlineImage(
InlineImageUtils.java:154)
 at com.itextpdf.text.pdf.parser.PdfContentStreamProcessor.processContent(
PdfContentStreamProcessor.java:386)
 at com.itextpdf.text.pdf.parser.PdfReaderContentParser.processContent(
PdfReaderContentParser.java:80)
 at com.tsgrp.opencontent.universal.annotation.XFDFAnnotationImpl.
getProcessedPage(XFDFAnnotationImpl.java:508)

Ben Allen

*technology services **group*
bal...@tsgrp.com
312-899-2943
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] InlineImageParseException: Could not find image data or EI

2014-09-04 Thread iText mailing list

On 9/4/2014 4:57 PM, Benjamin Allen wrote:
Is there any active development going on that would solve this issue 
for some PDFs that addresses the whitespace issues?


There's a discussion about this on the paid support system. Are you a 
paying customer? If so, use your access to paid support to be kept up to 
date.


If you're not... Well, as you're talking about sensitive documents and 
as you're so concerned about it, why don't you get a commercial iText 
license to be kept up to date? You are making money using iText, why not 
spend some of that money rewarding the people developing and maintaining 
the product?
--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php