bz3x#10399
I can't figure out how to add multiple keywords in the IPTC keyword field.
I'm trying the following code:
When I then open the file in Photoshop, for example, it tells me that there is one keyword: "one, two, three, four".
I've tried splitting the keywords by semicolon and putting quotes around them, the problem remains.
Thanks for ideas and experience shared!
I'm trying the following code:
using (Aurigma.GraphicsMill.Bitmap bitmap = new Aurigma.GraphicsMill.Bitmap(file)) {
JpegEncoderOptions options= new JpegEncoderOptions(70, false);
IptcDictionary iptc = new IptcDictionary();
// here is where I set the keywords
iptc[IptcDictionary.Keyword] = "one, two, three, four";
options.Iptc = iptc;
bitmap.Save(file, options);
}When I then open the file in Photoshop, for example, it tells me that there is one keyword: "one, two, three, four".
I've tried splitting the keywords by semicolon and putting quotes around them, the problem remains.
Thanks for ideas and experience shared!