wood burning stoves*
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JAI, Image CMYK to RGB