C# convert RGB value to CMYK using an ICC profile?
this question seems posted at many places over the interwebs and SO, but I could not find a satisfactory answer :( How can I convert a RGB value to a CMYK value using an ICC profile? The closest answer I have is there, where it explains how to convert from CMYK to RGB but not the other way around, which is what I need. (http://stackoverflow.com/questions/4920482/cmyk-to-rgb-formula-of-photoshop/5076731#5076731) float[] colorValues = new float[4]; colorValues[0] = c / 255f; colorValues[1] = m / 255f; colorValues[2] = y / 255f; colorValues[3] = k / 255f; System.Windows.Media.Color color = Color