Menu

#286 IPCT/8BIM confusion

v1.0_(example)
open
5
2015-03-20
2014-11-18
No

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.

Discussion

  • Bob Friesenhahn

    Bob Friesenhahn - 2014-12-14

    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?

     
  • Bob Friesenhahn

    Bob Friesenhahn - 2014-12-14
    • assigned_to: Bob Friesenhahn
     
  • Cédric Demière

    Hi,

    I understand your choices.
    

    I think you can close this ticket.

    Thanks.

     

Log in to post a comment.

MongoDB Logo MongoDB