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 JAI, Image CMYK to RGB 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 "JAI, Image CMYK to RGB" Watch "JAI, Image CMYK to RGB" New topic
Author

JAI, Image CMYK to RGB

Mathias Nilsson
Ranch Hand

Joined: Aug 21, 2004
Posts: 367
Hi!

I'm developing an applet( Word processor, Image, Tables ).

I have implemented a drag and drop function for a users to drag images from desktop to a JPanel. I check if the type is JPEG and then render the image to the JPanel.

I need to check if the JPEG is in the right DPI and the image with and height. If the image is in CMYK it needs to be converted to RGB to be viewed. I have googled around and found the JAI api but U don't understand how to convert an CMYK to RGB.

Can someone point me to the right direction

// Mathias


SCJP1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAI, Image CMYK to RGB
 
Similar Threads
Reading images of colorspace type CMYK
Encode JPEG as CMKY instead of RGB using JPEGEncodeParam?
capacha
Reading image file (jpg) of colorspace type CMYK
ImageIO.read(InputStream ..) returns null