Re: [OpenJDK 2D-Dev] Basic Color Management

2008-06-13 Thread Andrew Haley
Ben Loud wrote: > 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

Re: [OpenJDK 2D-Dev] Basic Color Management

2008-06-13 Thread Ben Loud
e JDK version. From: [EMAIL PROTECTED] on behalf of Adam Augusta Sent: Sat 14/06/2008 03:04 To: 2d-dev@openjdk.java.net Subject: Re: [OpenJDK 2D-Dev] Basic Color Management On Fri, Jun 13, 2008 at 1:26 PM, Dmitri Trembovetski <[EMAIL PROTECTED

Re: [OpenJDK 2D-Dev] Basic Color Management

2008-06-13 Thread Adam Augusta
On Fri, Jun 13, 2008 at 1:26 PM, Dmitri Trembovetski <[EMAIL PROTECTED]> wrote: > java.awt.BufferedImage has a ColorModel with > ColorSpace describing how to interpret the > colors, and which may be defined by ICC profile: >http://java.sun.com/javase/6/docs/api/java/awt/image/ColorModel.html

Re: [OpenJDK 2D-Dev] Basic Color Management

2008-06-13 Thread Dmitri Trembovetski
Have you looked at java.awt.color package? java.awt.BufferedImage has a ColorModel with ColorSpace describing how to interpret the colors, and which may be defined by ICC profile: http://java.sun.com/javase/6/docs/api/java/awt/image/ColorModel.html http://java.sun.com/javase/6/do

[OpenJDK 2D-Dev] Basic Color Management

2008-06-13 Thread Adam Augusta
I need to do RGB->RGB, RGB->CMYK, CMYK->RGB conversion using source and destination ICC profiles and rendering intents. As far as I can tell, there's no way to do this directly in Java2D or JAI. My understanding is that there are some issues with RGB->CMYK conversion, and while the underlying CMM