You want the new content parser in iText 5.
Also, don't forget that you'll need special handling for images, patterns,
smooth shadings, Form XObjects and Type 3 fonts.
Leonard
From: Dala Himself [mailto:dalahims...@hotmail.com]
Sent: Tuesday, June 15, 2010 2:10 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Finding colorspaces used in a pdf
I want to make a program which analyzes a pdf to find which colorspaces are
used in the document.
My program goes through every page in the pages tree and for every page I want
to check the page's contenstream(s) for the operators
CS, SCN, G, RG and K (which are all used to set the current colorspace).
So, my question is, if I have an object of type 'PdfStream', is it possible to
retrieve the CS, SCN, G, RG and K operators from the stream along with the
operator parameters?
Hope my question is clear and that somebody can give me an answer :)
Thanks in advance for any help!!
Geir
________________________________
Windows 7: Se direkte-TV fra den bærbare PCen. Finn ut
mer.<http://windows.microsoft.com/windows-7>
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.itextpdf.com/book/
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/