Hi olivier,

at first, you have nothing to do special to use CMYK jpg with FOP 0.20.5.  It should work the same as RGB jpg.

But you should know that FOP 0.20.5 as a bug with rgb color : if a component is less that 12, it set it to 0. So that :

rgb(24, 12, 50) became rgb(24, 0, 50) inside PDF. Be aware of this if you want perfect colors.

On my own, i've written a little java code that can replace RGB colors by CMYK ones inside a PDF. You should find it at PDFBox website. (PDFBox is a java library to manipulate PDF).

I'm currently using FOP 0.20.5 to produce CMYK PDF.

Pierre-Yves

Olivier Mansour a écrit :
Hey

We are evaluating fop solution to produce PDF with CMYK color-space use.
I have found a solution to convert RGB definition for text-element  (see : http://tinyurl.com/ewpxh) but when I import a CMJN jpg I have  this error message :
"Invalid ICC profile: java.lang.IllegalArgumentException: Invalid ICC  Profile Data java.lang.IllegalArgumentException: Invalid ICC Profile  Data""

Is there any solution to have a PDF output with CMYK ?

Thanks a lot.
Olivier


--
Olivier Mansour      http://www.clever-age.com
Clever Age - conseil en architecture technique
GSM: +33 6 11 03 23 77  Tél: +33 1 53 34 66 10

Clever Age vous invite à ses petits déjeuners du Jeudi
http://www.clever-age.com/actualites/petits-dejeuners/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Reply via email to