It's not a secret anymore!
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

JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JAI, Image CMYK to RGB" Watch "JAI, Image CMYK to RGB" New topic

JAI, Image CMYK to RGB

Mathias Nilsson
Ranch Hand

Joined: Aug 21, 2004
Posts: 367

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

Have you checked out Aspose?
subject: JAI, Image CMYK to RGB
jQuery in Action, 3rd edition