File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading image file (jpg) of colorspace type CMYK