0

Possible Duplicate:
C# convert RGB value to CMYK using an ICC profile?

Well.. I've been working on this for some time and discovered many things about this world, but could not perform one conversion. If I use:

System.Windows.Media.Color color = Color.FromValues(colorValues,
            new Uri(@"D:\ISOcoated_v2_300_eci.icc"));

Or any other color profile, I get a great result! But the parameter "colorValues​​" is in CMYK, and the result value is in RGB. =(

I need to pass the values ​​in RGB and the method return me the value in CMYK. Preferably corresponding with the above conversion or some value close.

Some links I found:

Among others, none helped me for various reasons.. (Please not to post the RGB to CMYK formula I would like to use profiles)

Community
  • 1
  • 1
J. Lennon
  • 3,311
  • 4
  • 33
  • 64
  • The solution described in http://stackoverflow.com/questions/5237104/c-sharp-convert-rgb-value-to-cmyk-using-an-icc-profile works. Post your code so we can have a look where the problem is. – Codo Jun 05 '12 at 08:21
  • Ok, I'll try again .. sometimes I missed some detail in this conversion. Anyway, there would be a simpler way to do what I need? – J. Lennon Jun 05 '12 at 13:34

0 Answers0