A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
Creating CMYK Colorspace
Lionel Kingsley
Greenhorn
Joined: Jun 06, 2006
Posts: 10
posted
Oct 30, 2006 07:18:00
0
Hi,
One can create a colorspace of type RGB as follows:
ColorSpace
rgbCS = ColorSpace.getInstance(ColorSpace.CS_LINEAR_RGB);
Simillarly how to create a colorspace of type CMYK?
Also i would be appreciate if you could specify the difference between
Linear RGB and sRGB.
Thanks.
Lionel Kingsley
Greenhorn
Joined: Jun 06, 2006
Posts: 10
posted
Oct 31, 2006 03:40:00
0
Hi,
I tried to create a color space of type CMYK as follows:
ColorSpace cmykCS = ColorSpace.getInstance(ColorSpace.TYPE_CMYK);
But i got "Unknown color space" error message.
It seems like we can only create colorspace of type CS_CIEXYZ, CS_GRAY, CS_LINEAR_RGB, CS_PYCC or CS_sRGB.
Then what is the use of TYPE_CMYK constant?
But it is known that one can use some formulas to convert between RGB and CMYK colorspace.
But is it really possible to create the
ColorSpace
instance of type CMYK?
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Creating CMYK Colorspace
Similar Threads
Reading images of colorspace type CMYK
Reading image file (jpg) of colorspace type CMYK
IMAging
Problem with RGB, CMYK Image
Image conversion and compression.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter