I had my first encounter with PDFBox today...I'm looking into ways to replace a given color in a PDF. I've got some 80 PDFs in which one would like to replace a blueish color with redish (adjust to customer's CI).
Google turned up PDFBox ConvertColorspace. So I tried. java -cp commons-logging-1.1.1.jar:pdfbox-1.1.0.jar:log4j-1.2.15.jar org.apache.pdfbox.ConvertColorspace -equiv "CMYK:(80,60,0,0)=CMYK:(0,99,100,0)" fr_sample.pdf new_fr_sample.pdf -> see attached fr_sample.pdf The completion finished without error but the result is not what I expected. All kinds of colors were replaced instead of just the "blue bars". Is PDFBox not capable of doing what I want it to do or is there a problem with fr_sample.pdf?
Cheers, Marcel -- Marcel Stör, http://www.frightanic.com Couchsurfing: http://www.couchsurfing.com/people/marcelstoer Skype: marcelstoer O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

