Hi,
What you could do to output CMYK to pdf is to change the
org.apache.fop.renderer.pdf.PDFRenderer.
You could implement your own PDFRenderer as a copy and map some
rgb-values to cmyk-values (via look-up-table or sth.)
But the problem is here, that you must change quite a bit since
there are
Timo,
Timo Haberkern wrote:
1.) FOP (or XSL:FO) doesn't support CMYK directly
I don't know if the XSL-FO color space support supports CMYK or not.
Others may comment on this who have read the spec more than I.
2.) CMYK JPEGs shouldn't be a problem in FOP through JAI support
I use CMYK JPEGs in
Ben,
The President of my employer is a lawyer. Dunno if open-source will
happen anytime soon for that lib. ;-)
Have you checked if the open-source Multivalent lib supports this type
of operation? I'll try and take a gander too, but you should check
and see.
I will check it next week.
14:38
To: [EMAIL PROTECTED]
Subject: Re: CMYK again
Ben,
The President of my employer is a lawyer. Dunno if open-source will
happen anytime soon for that lib. ;-)
Have you checked if the open-source Multivalent lib supports this type
of operation? I'll try and take a gander too, but you
is another solution.
Regards,
Dennis JD Myrén
Developer
Tel: (+47) 98 00 11 92
Mail: [EMAIL PROTECTED]
Web: www.oslokb.no
-Original Message-
From: Timo Haberkern [mailto:[EMAIL PROTECTED]
Sent: 21. november 2003 14:38
To: [EMAIL PROTECTED]
Subject: Re: CMYK again
Ben,
The President
[mailto:[EMAIL PROTECTED] Sent: 21.
november 2003 14:38
To: [EMAIL PROTECTED]
Subject: Re: CMYK again
Ben,
The President of my employer is a lawyer. Dunno if open-source will
happen anytime soon for that lib. ;-)
Have you checked if the open-source Multivalent lib supports this
type
Ben Galbraith wrote:
I don't know if the XSL-FO color space support supports CMYK or not.
XSLFO only supports sRGB (gamma corrected!) and ICC colors. Of course,
the spec doesn'n mention how the colors in the output should look like.
J.Pietschmann
Timo Haberkern wrote:
A question to the FOP coding gurus: What would be the correct/best way
to implement an extension to FOP that can generate a CMYK document?
Check whether iText or any other of the handful of PDF libraries
on sourceforge can help you with this problem.
J.Pietschmann
Timo Haberkern wrote:
A question to the FOP coding gurus: What would be the correct/best way
to implement an extension to FOP that can generate a CMYK document?
rgds
Timo
Here're a couple of ideas of where to look:
EXSLFO Project:
http://exslfo.sourceforge.net/
EXSLFO Project Home: