This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Creating CMYK Colorspace Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Creating CMYK Colorspace" Watch "Creating CMYK Colorspace" New topic
Author

Creating CMYK Colorspace

Lionel Kingsley
Greenhorn

Joined: Jun 06, 2006
Posts: 10
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
Hi,

I tried to create a color space of type CMYK as follows:


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://aspose.com/file-tools
 
subject: Creating CMYK Colorspace
 
Similar Threads
Image conversion and compression.
Reading images of colorspace type CMYK
IMAging
Problem with RGB, CMYK Image
Reading image file (jpg) of colorspace type CMYK