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/