The moose likes Other JSE/JEE APIs and the fly likes Problem with RGB, CMYK Image Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "Problem with RGB, CMYK Image" Watch "Problem with RGB, CMYK Image" New topic
Author

Problem with RGB, CMYK Image

Patel Chintan
Ranch Hand

Joined: Mar 01, 2007
Posts: 79
Hi, I need to convert RGB image to CMYK. I tried with different code but didn't get any success. So to verify all conversion I just tried to read Image and again creating another image with RGB only. But I am not able to generate proper image. It just creates some parts only from original image.

Here is code to read and get RGB data array. I have created a list of RGB array(of pixel).



Here is code which I am using to re create Image from RGB array data.



If this works then I can try for CMYK image.
I can't understand what is going wrong with this, as I am new to image processing.


Thanks


Chintan Patel, SCJP1.5, http://datewithjava.blogspot.com
 
 
subject: Problem with RGB, CMYK Image
 
developer file tools