From: Jason C. <cam...@gm...> - 2021-01-17 19:30:07
|
Marti, Thanks for the tips -- would you have any skeleton code showing the proper set of tags required in the proper sequence to make it work? From: "mar...@li..." <mar...@li...> Date: Sunday, January 17, 2021 at 1:58 PM To: Jason Campbell <cam...@gm...> Cc: "lcm...@li..." <lcm...@li...> Subject: Re: [Lcms-user] Named Color Profiles Hi, You can create named color profiles, either V2 or V4. To do so, you first allocate an empty profile with cmsCreateProfilePlaceholder and then add required tags with cmsWriteTag. Finally you need to save the profile cmsSaveProfileToFile. For named color database tag, you have cmsAllocNamedColorList family. I have used named color profile creation extensively and seems to work well. Regards Marti On 8 Jan 2021 13:32, Jason Campbell <cam...@gm...> wrote: Is it possible to create a named color profile with LCMS or only to read it? I know some profile types can be created programmatically but it does not appear you can do so for NCP -- unless I missed something… |