To answer my own question (assume I'm on right track)...

Image doesn't represent an /XObject, but PDFTemplate does.  Doing:

pdfTemplate.getAdditional().put(new PdfName("myId"), new
PdfString("image1"));

adds '/myId' to xobject's dictionary and I can now find the image stream by
myId.

Is that the 'correct' way to tag an image?
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
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

Reply via email to