If I understand you're linked sources correctly, it should be possible to read the needed values for the shader calculations out of the ICC profile.Ok. Thanks for the info. But this approach is IMHO only is nothing is doable with icc profile loading.