How to convert CMYK to RGB programmatically in indesign.
- by BBDeveloper
Hi,
I have a CMYK colorspace in indesign, i want to convert that as RGB color space, I got some codes, but I am getting incorrect data.
Some of the codes which I tried are given below
double cyan = 35.0;
double magenta = 29.0;
double yellow = 0.0;
double black = 16.0;
cyan = Math.min(255, cyan + black); //black is from K
…