[Lcms-user] profile corrupt after update
An ICC-based CMM for color management
Brought to you by:
mm2
|
From: Frank V. <fra...@yi...> - 2012-07-30 13:08:01
|
Hi, I am using lcms2 to update profile (pipe-lines) In general this works fine, but the profiles become corrupt when they have linked tags. steps: I open a profile that has linked tags for A2B1 and A2B2. I see in the internal structures that all data is correctly read, both tags shared the same pointer, offset etc, and A2B2 is marked as a link to A2B1 I then create a new pipeline, and call writetag on it to store in in A2B1 (this appears the be the only way to update the CLUT data in a pipeline) however, when I follow the code in writetag, then I do not see any change to the A2B2 data. e.g. the offset and pointer are not reset, neither are they linked to the new data. I am not sure what the correct behavior would be, but something is wrong here. I can also not 'relink' with linktag because that one complains about the fact that the A2B2 tag already exists... Any idea? Frank |