On 16.09.2009 14:37:12 Venkat Reddy wrote:
Can someone please explain me the following queries?
1. What is uncalibrated CMYK color space?
That refers to device-specific CMYK colors, i.e. the author of the
document already has to know which printer a document is printed on and
chooses the colors so they look good on that printer.
In contrast to that: if you're working in a calibrated color space
(established by a color profile), your colors get converted as necessary
in downstream processes in order to recreate the color you intended on
any printer. Well, that's a simplified explanation and color experts
would probably cry out loud, but it's sufficient to explain the
2. What extent the FOP supports this feature?
FOP has a proprietary color function that allows to specify
device-specific/uncalibrated CMYK colors:
I just noticed that I didn't commit some changes that would support a
"#CMYK" pseudo-color-profile as other XSL-FO implementations use. I'll
have to look into that. It would allow something like this:
3. I have got the following fo source code to specify a background color
from the CMYK color profile, from which I am able to produce all three
differents documents (PDF, AFP, and PS):
<?xml version="1.0" encoding="utf-8"?>
I have downloaded this fo file from the bug
Does this means FOP supports CMYK feature? (I have used the FOP Trunk
source for this..)
This is using calibrated CMYK colors. The fo:color-profile element
establishes the ICC color profile under the name "CMYKProfile" which is
then used for output formats that support ICC profiles (just PDF at the
moment). In PostScript, for example, this is mapped to the sRGB fallback.
4. There is a class by name 'CMYKColorSpace.java', when will it be used?
As the javadocs say, it is used for uncalibrated CMYK color, i.e. for
device-specific CMYK color and when there's no ICC color profile.
When you use the cmyk() color function, this class is referenced by the
ColorExt instance representing the CMYK color resulting from evaluating
the cmyk() function.