On 31 Jul 2012, at 13:01, Maria, Marti wrote:
>
> Hi Frank,
>
> After taking a look, it seems to me it is not a bug on the lcms library but
> in your code. If you examine the documentation, in the API reference of
> “cmsReadTag”, is stated that:
>
> For linked tags, think the linked tag is just an alias that points to a real
> tag. If you modify the real tag, the alias would point to the modified tag as
> well, if you modify the alias, then it will be no longer an alias but a real
> tag. You can check whatever a tag is an alias by using the function
> cmsIsLinkedTag(). The syntax is cmsIsLinkedTag(<alias>) à real tag.
I have now added a check for linked tags first, and if the tag is a linked one,
it now looks up the linked tag, and then updates the linked tag.
And that seems to work correctly.
So, for me this works fine now.
(BTW, I was still on 2.0 and that is why I did not find a call to check linked
tags before)
Frank
------------------------------------------------------------------------------
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