I am trying to create cmsHTransform usng lcms 2.4. I am able to create the tranformation and apply it as well for few icc profiles. But the output result is not as expected. This may be because of incorrect input/output format passed by us for creating cmsHTransform. We didn't find any specific method to choose these formats for the given icc profiles.
For Example :
hInProfile = cmsOpenProfileFromFile("AdobeRGB1998.icc", "r");
hOutProfile = cmsOpenProfileFromFile("AppleRGB.icc", "r");
hTransform = cmsCreateTransform(hInProfile,
In this case hTransform was created but the output was not as expected.
Please help us on how to choose correct input/output formats for any icc profile.
Another issue is that no matter what output profile is specified, the output image is always of sRGB profile. Please help.