I guess I don't understand this. If I have a color specified as a combination fo Cyan and Magenta - what is the "name" of that color? Or what about Red + Green?

What about colorspaces like LAB or ICCBased?

What do you want to do with DeviceN?

Leonard

On Apr 9, 2008, at 4:07 PM, George Bilalis wrote:
Hi Leonard,
Thanks for comming back. What I need is the sum of all colors used in the page and their names. 1. Is CMYK colorspace. Number is 4, the names "Cyan" "Magenta" Yellow" Black".
2. Is RGB colorspace. Number is 3, names are "Red" "Green" "Blue".
3. Is CMYK plus Spot. Number is 4 + ? , names are ("C" "M" "Y" "K") + ?.

Does this makes sense?
Thanks




From: [EMAIL PROTECTED]
Date: Wed, 9 Apr 2008 15:47:03 +0200
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] How to get a reference by name of all the colors in a page?

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


Κατεβάστε 30 ΔΩΡΕΑΝ Emoticons για τον Windows Live Messenger σας! Είναι δωρεάν! ---------------------------------------------------------------------- ---
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