Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with RGB, CMYK Image

Patel Chintan
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic