itextpdf 5.4.3 throwing com.itextpdf.text.pdf.parser.InlineImageUtils$InlineImageParseException: EI not found after end of image data

"karine.m" <[email protected]>
Newsgroups gmane.comp.java.lib.itext.general
Message-ID <[email protected]>
I am receiving the EI not found error in this specific attached pdf.

I am using itextpdf-5.4.3 jar and below is the code:

com.itextpdf.awt.geom.Rectangle rec = new
com.itextpdf.awt.geom.Rectangle(307, 728, 742, 400);
 RenderFilter filter = new RegionTextRenderFilter(rec);
                   
TextExtractionStrategy  strategy = new FilteredTextRenderListener(new
LocationTextExtractionStrategy(), filter);
String currentText = PdfTextExtractor.getTextFromPage(reader, i , strategy);

Method getTextFromPage is returning the error,
I checked other threads but it was mentioned that this error should be fixed
in the latest jar, but it seems it is not  facture3_1.pdf
<http://itext-general.2136553.n4.nabble.com/file/n4660457/facture3_1.pdf> 
working for my file.
Can anyone advise please.



--
View this message in context: http://itext-general.2136553.n4.nabble.com/itextpdf-5-4-3-throwing-com-itextpdf-text-pdf-parser-InlineImageUtils-InlineImageParseException-EI-na-tp4660457.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
iText-questions mailing list
[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.