[OpenJDK 2D-Dev] OpenJDK and lcms color management (soft-proofing)
Phil Race
philip.race at oracle.com
Mon Jul 9 23:30:44 UTC 2012
What you are looking at and calling "a public interface" most certainly
is NOT.
Its deep (very deep) inside the JDK implementation in a place
applications are not
supposed to even know about and definitely cannot depend upon to even exist.
The only APIs at your disposal are those listed here :-
http://docs.oracle.com/javase/7/docs/api/
I am not sure if you should read too much into the comment as being an
exhaustive list and in any case I think its only saying what would happen
if you did not explicitly request absolute colorimetric.
http://docs.oracle.com/javase/7/docs/api/java/awt/color/ICC_Profile.html#icAbsoluteColorimetric
I'd love to point you at some related tests but I can't locate anything.
-phil.
On 7/9/2012 12:46 AM, Claudio Wilmanns wrote:
> 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