I had a look at the the problem and it can be broken in two parts:
- changing the Pantone color. This is easy to do as all that is required is to change the ColorSpace key in the page dictionary.
- changing the tint from 100% to 40%, for example, is trickier. It requires parsing the content to look for the the colorspace setting and changing the tint. It's some work but comparing to text extraction it's a ride in the park.
I'll put it in my to-do list.
Best Regards,
Paulo Soares
-----Original Message-----
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] On Behalf Of Leonard Rosenthol
Sent: Wednesday, February 04, 2004 12:56
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [iText-questions] can iText change the Pantone color in a PDF?
At 05:57 AM 2/3/2004, [EMAIL PROTECTED] wrote:
>I want to try and change the Pantone color in an existing PDF to another
>when I copy the PDF using iText (i.e. 100% PMS 353 Green to 40% PMS 185
>Red). Is this possible using iText?
No, it's not.
The only tool I know of that can do that is PitStop Server
(http://www.enfocus.com).
Leonard
---------------------------------------------------------------------------
Leonard Rosenthol <mailto:[EMAIL PROTECTED]>
Chief Technical Officer <http://www.pdfsages.com>
PDF Sages, Inc. 215-629-3700 (voice)
215-629-0789 (fax)
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
