after some debug i can add tho information ... the images with a null ref use this kind of ImageRenderInfo constructor:
private ImageRenderInfo(Matrix ctm, InlineImageInfo inlineImageInfo, PdfDictionary colorSpaceDictionary) { this.ctm = ctm; this.ref = null; this.inlineImageInfo = inlineImageInfo; this.colorSpaceDictionary = colorSpaceDictionary; } as i can see doesn't exist ref ... it is set to null and after a little bit of debug i fond this piece of code that call thie constructor if ("BI".equals(operator.toString())){ // we don't call invokeOperator for embedded images - this is one area of the PDF spec that is particularly nasty and inconsistent PdfDictionary colorSpaceDic = resources != null ? resources.getAsDict(PdfName.COLORSPACE) : null; handleInlineImage(InlineImageUtils.parseInlineImage(ps, colorSpaceDic), colorSpaceDic); } else { invokeOperator(operator, operands); } so ... embedded image has no reference ... after this my answer change a little bit, is there a way to retrive an image Object directly.. like : PdfObject pdfobj = reader.getPdfObject(index i) ... if i don't have a ref i use Itext 5.5.1 Gian -- View this message in context: http://itext-general.2136553.n4.nabble.com/PdfIndirectReference-null-from-ImageRenderInfo-getRef-tp4660066p4660067.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ 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