wood burning stoves 2.0*
The moose likes Java in General and the fly likes Reading image file (jpg) of colorspace type CMYK Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Reading image file (jpg) of colorspace type CMYK" Watch "Reading image file (jpg) of colorspace type CMYK" New topic
Author

Reading image file (jpg) of colorspace type CMYK

Lionel Kingsley
Greenhorn

Joined: Jun 06, 2006
Posts: 10
Hi,

I am using javax.imageio.imageIO class to read the images.

While reading the jpg files of colorspace type RGB it is reading without any exception. But i tried to read a jpg image created using CMYK colorspace it(javax.imageio.imageIO(ImageInputStream stream) method) is throwing Image IOException (IIOException).

How can i read images created using CMYK colorspace.

Will JAI support this?

Thanks in advance.
 
 
subject: Reading image file (jpg) of colorspace type CMYK