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.