Multiple uses of IPTC tags

Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
Post Reply
SpooRancher
Posts: 2
Joined: 2018-07-25T13:08:04-07:00
Authentication code: 1152

Multiple uses of IPTC tags

Post 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
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Multiple uses of IPTC tags

Post by dlemstra »

At this moment there is no support for this. Could you open an issue on github to request support for this?
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
SpooRancher
Posts: 2
Joined: 2018-07-25T13:08:04-07:00
Authentication code: 1152

Re: Multiple uses of IPTC tags

Post by SpooRancher »

Done.
Many thanks!!
Post Reply