> I´m not very familiar with the ICC Spec and trying to > create a "Named Color ICC Profile" via LCMS.
Hi Manuela, That's easy. You need to create an empty profile hProfile = cmsCreateProfilePlaceholder(0); Make sure to tag it as "named color class" cmsSetDeviceClass(hProfile, icSigNamedColorClass); Then you create a named color structure nc2 = cmsAllocNamedColorList(...); Fill it with the information you wish and then save it as a named color tag cmsWriteTag(hProfile, cmsSigNamedColor2Tag, nc2); Finally, save the profile cmsSaveProfileToFile(hProfile, "test.icc"); And do a cleanup on nc2 and hProfile resources. You may want to add description, copyright... Hope that helps Marti ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user