[OpenJDK 2D-Dev] Basic Color Management
Ben.Loud at rlmgroup.com.au
Fri Jun 13 20:13:02 PDT 2008
I know what you mean. I would like to see more comprehensive support for color management in the JDK. Right now all we get is to/fromXYZ() which is defined to be done using relative colorimetric, and to/fromsRGB, which is defined to use perceptual, but these only work on float arrays, and there's no support for saturation or absolute colorimetric, and no way to create an optimized transform between profiles.
It wouldnt be difficult to add, of course the capability is all there in littlecms and exists to some extent in sun.java2d.cmm.*, perhaps it will be considered for a future JDK version.
From: 2d-dev-bounces at openjdk.java.net on behalf of Adam Augusta
Sent: Sat 14/06/2008 03:04
To: 2d-dev at openjdk.java.net
Subject: Re: [OpenJDK 2D-Dev] Basic Color Management
On Fri, Jun 13, 2008 at 1:26 PM, Dmitri Trembovetski
<Dmitri.Trembovetski at sun.com> wrote:
> java.awt.BufferedImage has a ColorModel with
> ColorSpace describing how to interpret the
> colors, and which may be defined by ICC profile:
By the spec, profiles support four rendering intents, absolute
colorimetric, relative colorimetric, perceptual, and saturation. You
can define a ColorSpace by an ICC profile, but there's no opportunity
to specify a rendering intent.
(I know Batik extended ColorSpace to support a rendering intent, but
Batik is an SVG library.)
Thanks for your response.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the 2d-dev