Page 1 of 1

Multiple uses of IPTC tags

Posted: 2018-07-25T13:20:01-07:00
by SpooRancher
Hi -

I'm trying to create an IPTC profile using code like this:

Code: Select all

    IptcProfile iptc = new IptcProfile();
    iptc.SetValue(IptcTag.Keyword, "First");
    iptc.SetValue(IptcTag.Keyword, "Second");
And what I see in the created profile is a single occurrence of the "Keyword" tag (25) with value "Second". The code in IptcProfile.SetValue() is specifically looking for a previous creation of an IptcValue with the tag and overwriting it.

But multiple use of tags is common and seems to be allowed in the specification. Do I have any way of doing what I want here?

Thanks

Alan

Re: Multiple uses of IPTC tags

Posted: 2018-07-25T22:36:30-07:00
by dlemstra
At this moment there is no support for this. Could you open an issue on github to request support for this?

Re: Multiple uses of IPTC tags

Posted: 2018-07-26T09:58:58-07:00
by SpooRancher
Done.
Many thanks!!