Hi, ok, you were right, it was a problem caused by wrong reading of profiles. This has produced correct cmsGetProfileInfo(), some wrong color values, cmsERROR_NOT_SUITABLE or cmsUNKNOWN_EXTENSION. Now it works well. Thank you very much for your help.
regards Tobias ====================== > > > Thank you very much for your answer. I'm very sorry that there is no > subject in the header, I lost it when I tried to reformulate my post. > > Thank you very much for the hints. I will try to find out where the > memory problem in our C# code is hidden. > > Regards > Tobias > > > > > > >Hi, > > > >I've tried the ICCtrans utility and it works fine to me: > > > >transicc.exe -i sRGB_v4_ICC_preference.icc -o > sRGB_v4_ICC_preference.icc -t0 > >LittleCMS ColorSpace conversion calculator - 4.2 [LittleCMS 2.05] > > > >Enter values, 'q' to quit > >R? 12 > >G? 12 > >B? 12 > > > >R=12.1758 G=12.4984 B=12.3371 > > > >The error you are getting happens when you try to link profiles that > are > >not compatible, for example an RGB input profile and a CMYK devicelink. > >But this seems not to be your case. > > > >I have used this profile extensively with no error, and what you report > >on adobeRGB makes me think maybe there is a memory corruption > somewhere. > > > >A good strategy is to try to reproduce it by using transicc or any of > >the lcms utilities. If you cannot, then maybe the bug is in your side. > > > >Regards > >Marti. > > > > > >El 20/06/2013 19:09, tobias.beck@... escribió: > >> Hello everybody > >> > >> we are working with a C# Wrapper and call the .dll. Loading and > reading > >> profiles > >> works well. Creating transforms gives sometimes errors. If I try to > do a > >> transformation where I load the profile two times and use one as > input > >> profile and the other one as output profile, the following happens: > >> > >> with the profile "sRGB_v4_ICC_preference.icc" (from here: > >> http://www.color.org/srgbprofiles.xalter#v4pref) I get the following > >> error message: > >> "Couldn't link the profiles, cmsERROR_NOT_SUITABLE" > >> > >> If I do the same with AdobeRGB1998.icc (from here: > >> http://www.adobe.com/digitalimag/adobergb.html) it works without > error, > >> but I get a wrong 'R' (+0.3). > >> > >> If I use the 'internal' profile from cmsCreate_sRGBProfile() and do > the > >> same, then it works perfect, no errors and no wrong 'R'. > >> > >> How exactly do I need to understand the error message "Couldn't link > the > >> profiles", cmsERROR_NOT_SUITABLE" for the standard sRGB profile of > >> color.org? > >> > >> Thanks a lot. > >> > >> _______________________________________________ > >> Lcms-user mailing list > >> Lcms-user@... > >> https://lists.sourceforge.net/lists/listinfo/lcms-user > >> > > > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user