Conversion between CMYK percent and actual value
Hello,
I'm using AISwatchListSuite to get the RGB and CMYK color definations of the swatches.
result = sAISwatchList->GetAIColor(swatch, &swatchColor) gives the AIColor reference
float
c = swatchColor.c.f.cyan;
float m = swatchColor.c.f.magenta;
float y = swatchColor.c.f.yellow;
float k = swatchColor.c.f.black;
For example, a color with C=46.67%, M=47.06%, Y=0%, K=0%.
The values returned through swatchColor are:
c=0.5804, m=0.5373, y=0.9294, k=100.00.
How to convert these values to actual percent?
Thanks and Best regards,
Hitesh
