On 7/08/2011 18:01, Leonard Rosenthol wrote:
>The stream in this example contains the following attributes:
>{/Intent=/RelativeColorimetric, /Decode=[0.0, 255.0], /Type=/XObject,
/Subtype=/Image, /ColorSpace=22 0 R, /Name=/X, /BitsPerComponent=8,
/Width=314, >/Metadata=24 0 R, /Length=125, /Height=323,
/Filter=/FlateDecode}
>
Grab the metadata and read it!
Yes, combined with what you said in your initial mail, I think that's
the solution to your problem. 24 0 R is a reference to object #24 in the
PDF. It's a stream object that consists of XML. Use the getAsStream()
method to retrieve a PRStream object; get the content using PdfReader's
getStreamBytes() method.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
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