On Wednesday 07 December 2005 11:16, Marti wrote: > > This works well, but when we use the internal profiles we don't know what > > to > > do. There is no disk file to copy, so what do we do? Is the some function > > or > > other way to create something suitable for embedding. > > Hi, > > Just use _cmsSaveProfileToMem() as suggested by Kai-Uwe. > BTW, 1.15 should solve that bug, so you can reuse the profile after > being saved as well. But for backwards compatibility, is better > to do something like: > > h = cmsCreate_sRGBProfile() > cmsSaveProfileToMem(h, ...) > cmsCloseProfile(h)
Hi and thanks I actually rediscovered the bug ( I thought Kai-Uwe said the mem was bad and not the profile). I indeed now close the profile and then open a new profile from the mem. This works, but nice to hear that you have fixed it too. -- best regards / venlig hilsen Casper Boemann ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user