Do you want to know the colorspaces (RGB vs CMYK vs Spot) _OR_ are you actually looking at specific color values ([0 0 1], [1 1 0 0], etc.)??

Leonard

On Apr 9, 2008, at 3:08 PM, George Bilalis wrote:

Hi all,

I 've searched the forum and found a similar question posted a long time ago but in different context as I understand it, so please excuse me if a raise the same subject.
What I have to do is:
While a pdf document is open and a loop is counting to end of number_of_pages, I have to run a certain action and I need to know the total number of colors (RGB and/or CMYK plus Spot if used) in this page. This number defined as the sum of colors used by all elements on the page, whether textual, graphic or images.
Also I need to know these colors by name reference (as a string list).

The sequence is repeating for each page and program flow depends on this information. Is it possible through PageResources class? Or any other procedural way?

Thanks in advance


Κατεβάστε 30 ΔΩΡΕΑΝ Emoticons για τον Windows Live Messenger σας! Windows Live Mail. ---------------------------------------------------------------------- ---
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http:// java.sun.com/javaone_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to