Saptarshi Sen wrote:
Hi,
What exactly is the org.apache.fop.dataTypes.ColorSpace.java file
for? Does is provide any kind of support for CMYK?
This is the java class that is used to represent the colour space specified
in
the FO. Although it clearly has enumerations for CMYK, the renderers always
work with RGB values. Take a look at PDFRenderer.renderWordArea method and you
will see a PDFColor object constructed based only on RGB values with no test
for CMYK.
CMYK is supported for JPEG images, so that if an image has CMYK colours these
are preserved in the generated PDF.
Is there any other way by which I could convert the RGB colors to
CMYK?
FOP is open source, you could download the source and change the PDFRenderer
to support CMYK. The PDFColor object looks like it supports CMYK, so it may be
straight forward to implement.
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]