//For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
// initialize GifFormat
GifFormat GifFormat = new GifFormat(Common.MapSourceFilePath(filePath));
const string dcFormat = "test format";
string[] dcContributors = { "test contributor" };
const string dcCoverage = "test coverage";
const string phCity = "NY";
const string phCountry = "USA";
const string xmpCreator = "GroupDocs.Metadata";
GifFormat.XmpValues.Schemes.DublinCore.Format = dcFormat;
GifFormat.XmpValues.Schemes.DublinCore.Contributors = dcContributors;
GifFormat.XmpValues.Schemes.DublinCore.Coverage = dcCoverage;
GifFormat.XmpValues.Schemes.Photoshop.City = phCity;
GifFormat.XmpValues.Schemes.Photoshop.Country = phCountry;
GifFormat.XmpValues.Schemes.XmpBasic.CreatorTool = xmpCreator;
// commit changes
GifFormat.Save(Common.MapDestinationFilePath(filePath));