Thanks again! I'll take a look at that for sure. I was already looking at
PDF2IMG anyways so maybe I just need to get the full library. Too bad it's
not as fully featured / easy to use as iText :)


On Wed, Jan 15, 2014 at 1:28 PM, Leonard Rosenthol <lrose...@adobe.com>wrote:

>  Adobe's PDFLibrary (which can be licensed for server use) includes color
> management functionality.
>
>  Leonard
>
>   From: Jon Wu <j...@wuservices.com>
> Reply-To: Post here <itext-questions@lists.sourceforge.net>
> Date: Wednesday, January 15, 2014 8:12 PM
>
> To: Post here <itext-questions@lists.sourceforge.net>
> Subject: Re: [iText-questions] Changing colors of graphics and text in
> imported PDFs
>
>   Ah that's true. Maybe this replacement could work with some serious
> limitations then but it sounds very messy / error prone.
>
>  Maybe a better question, how would you do what I'm trying to accomplish
> - especially since you're part of the Adobe ecosystem?
>
>  This might be veering towards InDesign Server stuff, but I have designs
> that start in Illustrator and I have 1-5 colors (like a theme) that I want
> to swap out programmatically from the server. I start in Illustrator and
> ultimately end up with a PDF to print but maybe there's some other flow in
> between that would accomplish this better since PDF is obviously not meant
> to be manipulated.
>
>  Thanks again for your input! It's very helpful.
>
>
> On Wed, Jan 15, 2014 at 4:26 AM, Leonard Rosenthol <lrose...@adobe.com>wrote:
>
>>  What if that color is part of a transparency operation?
>>
>>  What if that color is overprinted?  Or knocked out?
>>
>>  and you probably need to find all the places that content can exist in
>> a PDF, which isn't just a single stream.
>>
>>  Leonard
>>
>>   From: Jon Wu <j...@wuservices.com>
>> Reply-To: Post here <itext-questions@lists.sourceforge.net>
>>  Date: Wednesday, January 15, 2014 11:49 AM
>> To: Post here <itext-questions@lists.sourceforge.net>
>> Subject: Re: [iText-questions] Changing colors of graphics and text in
>> imported PDFs
>>
>>   Thanks Leonard.
>>
>>  What if all I'm doing is a few color replacements? Could I just find
>> something like 0 0 0 1 k in the stream (assuming that's there) and then
>> replace it with 4 numbers for my predetermined CMYK values or are there
>> other intricacies that would cause issues?
>>
>>
>> On Wed, Jan 15, 2014 at 1:59 AM, Leonard Rosenthol <lrose...@adobe.com>wrote:
>>
>>>  Can you do this with iText? Yes.  HOWEVER it is going to require you
>>> to have a VERY DEEP understanding of PDF and Color Management/Science.
>>>
>>>  Leonard
>>>
>>>   From: Jon Wu <j...@wuservices.com>
>>> Reply-To: Post here <itext-questions@lists.sourceforge.net>
>>> Date: Wednesday, January 15, 2014 10:24 AM
>>> To: Post here <itext-questions@lists.sourceforge.net>
>>> Subject: [iText-questions] Changing colors of graphics and text in
>>> imported PDFs
>>>
>>>   Hi,
>>>
>>>  I'm trying to find a way to manipulate the colors in existing PDFs. I
>>> saw some similar questions asked 6 or more years ago and I'm not sure if
>>> things have changed.
>>>
>>>  Imagine I have a design that started in Adobe Illustrator with text
>>> and graphics and there are 5 distinct colors used in the design such as a
>>> color palette like ones you see on https://kuler.adobe.com/. The goal
>>> is to be able to identify the 5 colors in the PDF and replace with with
>>> entirely new CMYK colors as if I can just change the palette of the design
>>> on the fly from code. If it helps, I could make all 5 of the initial colors
>>> anything such as a named spot color.
>>>
>>>  Can I (or do I want to) do this with iText?
>>>
>>>  If not, what about string manipulation / search and replace?
>>>
>>>  Or I see in past posts there was some mention of other programs to do
>>> this but some examples would be helpful is iText isn't the right tool for
>>> this purpose.
>>>
>>>  Thanks!
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>>> Critical Workloads, Development Environments & Everything In Between.
>>> Get a Quote or Start a Free Trial Today.
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> iText-questions mailing list
>>> iText-questions@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>>
>>> iText(R) is a registered trademark of 1T3XT BVBA.
>>> Many questions posted to this list can (and will) be answered with a
>>> reference to the iText book: http://www.itextpdf.com/book/
>>> Please check the keywords list before you ask for examples:
>>> http://itextpdf.com/themes/keywords.php
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
>> Learn Why More Businesses Are Choosing CenturyLink Cloud For
>> Critical Workloads, Development Environments & Everything In Between.
>> Get a Quote or Start a Free Trial Today.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
>> _______________________________________________
>> iText-questions mailing list
>> iText-questions@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>> iText(R) is a registered trademark of 1T3XT BVBA.
>> Many questions posted to this list can (and will) be answered with a
>> reference to the iText book: http://www.itextpdf.com/book/
>> Please check the keywords list before you ask for examples:
>> http://itextpdf.com/themes/keywords.php
>>
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php
>
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to