Hi, To change the description of a bult-in, as on any other profile you must use cmsWriteTag. Please note that description in V4 can be localized, so it is up to you to provide desciptions in as much languages as you need.
Basically you need to create a multi-localized unicode object. cmsMLU* description = cmsMLUalloc(0, 1); // I allocate space for just one language Then populate it with the lacalized strings. I'm using ASCII here, but you can use unicode. cmsMLUsetASCII(description, "EN", "us", "You nice description here"); And finally write the description cmsWriteTag(hProfile, cmsSigDescriptionTag, description); After that you can safely free the MLU object cmsMLUfree(description); If you save the profile as V2, only the first language is used. This is done in such way because profiles can have tons of different infos, and a creation funcion with tons of parameters would be difficult to handle. Hope it make sense to you. Regards Marti El 25/08/2012 11:44, Mark escribió: > Hello, > > I am using cmsCreateRGBProfileTHR a lot, eg to create linear light versions > of known RGB profiles, etc. > Profiles created with this method will always default to being named "RGB > built-in". Since SetTextTag is static, there's no way to set a "nice" name > afterwards. > > Is there any special reason for SetTextTag being static? > Alternatively, could a version of cmsCreateRGBProfileTHR with an additional > parameter for the name be added? > > Some applies to cmsCreateLab2ProfileTHR and cmsCreateLab4ProfileTHR. Though I > can pass a different white point, the name of the created profile will always > be the same and there's no way to set that currently. > > Kind regards > mark > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Lcms-user mailing list > Lcms-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lcms-user > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user