Hello,
It seems there is a confusion between 8BIM profile and IPTC on GM.
We can easily see it with PSD files, when using iptcProfile() method on an Image, it return an 8BIM profile.
It seems that bug is handled on 'profile.c' by defining that 8BIM is an alias of IPTC.
Finally, I can handle it in my code by calling 8BIM profile instead of IPTC but it could cause some problems in the future.
Regards,
Demière Cédric.
PS : If you think it's better, i can quickly produce a fix for psd.c but I'm not aware of potential implication on GM.
The 8BIM profile embeds an IPTC profile. When a 8BIM profile is provided, then it is still called 8BIM but a request for IPTC will return it. A pointer to the whole profile is returned. The user would then need to notice that it is 8BIM and access the contained IPTC profile. No effort is made to try to split out a redundant IPTC profile allocation (splitting one into two), which would cause new confusion when saving files.
How can I make this better?
Hi,
I think you can close this ticket.
Thanks.