CMYK colour space

View: New views
4 Messages — Rating Filter:   Alert me  

CMYK colour space

by jai-interest-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK, this is probably a newbie question but I can't see an answer anywhere in the documentation... how do I create an image to manipulate programmatically (i.e., not from a source file) that uses the CMYK colour space.  I see a lot of suggestions around to use something like "ICC_Profile.getInstance("CMYK.pf")" to create a profile for it, and they usually state that CMYK.pf is included in the JAI distribution, but I can't find it anywhere.  Anyone know where it is? Another way of doing this?
[Message sent by forum member 'jh3141' (jh3141)]

http://forums.java.net/jive/thread.jspa?messageID=292189

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: CMYK colour space

by jai-interest-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hmmm.. I've found a copy of CMYK.pf with an older version of JAI (downloaded from http://java.sun.com/products/java-media/jai/downloads/download-1_1_1_01.html ).  Has it been removed from the more recent versions?  Or is there now another way to do this?
[Message sent by forum member 'jh3141' (jh3141)]

http://forums.java.net/jive/thread.jspa?messageID=292198

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Re: CMYK colour space

by Adam Augusta :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ImageIO uses com.sun.media.jai.util.SimpleCMYKColorSpace when it reads untagged CMYK files.
import com.sun.media.jai.util.SimpleCMYKColorSpace;
final ColorSpace cmykColorSpace = SimpleCMYKColorSpace.getInstance();

Also, if you need a CMYK profile, you can grab a few here, including GRACOL and the SWOP profiles:
http://www.gracol.com/

Good luck!
-Adam

On Thu, Aug 7, 2008 at 4:36 PM, <jai-interest@...> wrote:
Hmmm.. I've found a copy of CMYK.pf with an older version of JAI (downloaded from http://java.sun.com/products/java-media/jai/downloads/download-1_1_1_01.html ).  Has it been removed from the more recent versions?  Or is there now another way to do this?
[Message sent by forum member 'jh3141' (jh3141)]

http://forums.java.net/jive/thread.jspa?messageID=292198

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...



Re: Re: CMYK colour space

by jai-interest-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks.  That seems to do the job a bit better :)
[Message sent by forum member 'jh3141' (jh3141)]

http://forums.java.net/jive/thread.jspa?messageID=292216

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...

LightInTheBox - Buy quality products at wholesale price!