Hi,
I am trying to generate AFP output document from a XSL:FO input document
having a CMYK color image in it.
I have changed the configuratin (fop.xconf) to the following
<images mode="color"/>
When i generate the AFP document, the CMYK image is converted to RGB
image, because I haven't set the "cmyk=true" in the above images tag.
We are checking the property "cmyk" in AFPRendererConfigurator for the
value (true/false), if not assigning the default 'false'.
if (IMAGES_MODE_COLOR.equals(imagesMode)) {
customizable.setColorImages(true);
boolean cmyk = imagesCfg.getAttributeAsBoolean("cmyk", false);
customizable.setCMYKImagesSupported(cmyk);
}
I think, by default we should set this property 'cmyk' to true instead
of false. When I pass the CMYK image without this property, the image is
converted to RGB, which I don't want to happen unless I set the property
to false.
Please pass your comments on this....
Thanks,
Venkat.