keithnuix wrote: > Ok, I see, this is the newer way of embedding media into PDF's, possibly not > supported by iText yet. The annotation code I linked to was to extract > multimedia objects embedded in their native formats as annotations, not the > newer way which converts them to SWF RichMedia elements. Anyway, if anyone > knows how to get this newer data out that would be good.
That's easy. Get the Page tree; loop over all the page dictionaries. Inspect the /Annots entry. If it's a RichMedia annotation; get the reference to the embedded file. Extract the embedded file using a PRStream object. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/