Le 14 mars 06 à 17:29, Pierre-Yves Landuré a écrit :
Hi,
you should search for pstill : this tool can convert RGB PDF to
CMYK ones, but it is not free.
For CMYK PDF with images, you must use CMYK images as input, so
that FOP output the PDF already partially in CMYK. You can not
actually produce CMYK pdf without using CMYK jpgs as input. I think
that you should take a look at image magick for converting your
images. This tool do pretty good RGB to CMYK conversion.
Hope this help
yes thank you !
to summarize the workaround :
- with FOP 0.91 version and a CMYK JPEG in FO file, the FO file won't
compile and output this error : " Invalid ICC profile:
java.lang.IllegalArgumentException: Invalid ICC Profile Data
java.lang.IllegalArgumentException: Invalid ICC Profile Data"
- with FOP 0.20.5 the FO file compile and I can use succefully http://
www.pdfbox.org/commandlineutilities/ConvertColorspace.html to produce
a final CMYK PDF like Pierre Yves said
Maybe switching the compilation error to a simple warning will be
usefull
thank you
Olivier
Pierre-Yves
Olivier Mansour a écrit :
Le 14 mars 06 à 16:53, Pierre-Yves Landuré a écrit :
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.
Thanks for your answer. I have already tested your code and it
works fine for texts elements. But do you import CMYK pictures on
your PDF ? If you don't, how produce CMYK PDF with RVB pictures ?
That's my last problem. We use FOP 0.91 maybe its a clue.
Someone was talking about free third part tools to convert RVB PDF
to CMYK PDF but I can't find one. An idea ?
Thank you
Olivier
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: fop-users-
[EMAIL PROTECTED]
For additional commands, e-mail: fop-users-
[EMAIL PROTECTED]
--
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: fop-users-
[EMAIL PROTECTED]
--
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]