On Sat, Oct 13, 2012 at 5:47 PM, Marti Maria <marti.ma...@littlecms.com> wrote: > > Try this one I'm sending, you have to fill the copyright and description but > all remaining tags are ok
Thanks, that's very helpful. There is just one thing left, which is that some of our 'desc' tags have ScriptCode and some don't: tag 0: sig 'desc' type 'desc' offset 264 size 116 TextDescription: ASCII data, length 8 chars: 0x0000: sRGB\000\000\000 No Unicode data ScriptCode Data, Code 0x0, length 9 chars 0x0000: 00 73 00 52 00 47 00 42 00 tag 1: sig 'dmnd' type 'desc' offset 380 size 128 TextDescription: ASCII data, length 12 chars: 0x0000: Darktable\000\000 No Unicode data No ScriptCode data tag 2: sig 'dmdd' type 'desc' offset 508 size 116 TextDescription: ASCII data, length 8 chars: 0x0000: sRGB\000\000\000 No Unicode data ScriptCode Data, Code 0x0, length 9 chars 0x0000: 00 73 00 52 00 47 00 42 00 All these tags are added in the same way: cmsMLU *mlu0 = cmsMLUalloc(NULL, 1); cmsMLUsetASCII(mlu0, "en", "US", "sRGB"); cmsMLU *mlu1 = cmsMLUalloc(NULL, 1); cmsMLUsetASCII(mlu1, "en", "US", "Darktable"); cmsMLU *mlu2 = cmsMLUalloc(NULL, 1); cmsMLUsetASCII(mlu2, "en", "US", "sRGB"); cmsWriteTag(hsRGB, cmsSigProfileDescriptionTag, mlu0); cmsWriteTag(hsRGB, cmsSigDeviceMfgDescTag, mlu1); cmsWriteTag(hsRGB, cmsSigDeviceModelDescTag, mlu2); cmsMLUfree(mlu0); cmsMLUfree(mlu1); cmsMLUfree(mlu2); Do you have any clue why they would end up differently in the ICC (I've attached the ICC in question)? I'm not particularly clear on what ScriptCode is, glancing over the ICCv2 spec didn't clear anything up either... Regards, Pascal de Bruijn
dt_srgb.icc
Description: Binary data
------------------------------------------------------------------------------ Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user