[OpenJDK 2D-Dev] OpenJDK and lcms color management (soft-proofing)

Claudio Wilmanns Claudio.Wilmanns at infowerk.de
Mon Jul 9 07:46:10 UTC 2012


Hi there,

I’d like to know to which extent lcms color management has been
implemented.

In particular I’m interested in the use of the absolute colorimetric
rendering intent for soft-proofing of CMYK data.
 - is this possible?
 - how can this be achieved?

Any help or hints are appreciated.


Here are my findings so far.

The public ColorTransform API interface
(http://www.docjar.com/html/api/sun/java2d/cmm/ColorTransform.java.html)
lists the following for the renderType parameter:
	public interface ColorTransform {
	    public int Any = -1;/* any rendering type, whichever is
	                           available */
	                        /* search order is icPerceptual,
	                           icRelativeColorimetric, icSaturation */
	
	    /* Transform types */
	...
	}


Given the above information I assume that absolute colorimetric rendering
is not possible as it is not one of the documented renderTypes.

On the other hand, a complete lcms implementation lets me suggest that
using the renderType „3“ stands for „icAbsoluteColorimetric“ but is only
undocumented. Can somebody confirm this?

Is there some easy to use test code available so I can perform tests by
myself?

Best Regards
Claudio



More information about the 2d-dev mailing list