// For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
// initialize JpegFormat
JpegFormat jpegFormat = new JpegFormat(Common.MapSourceFilePath(filePath));
// remove XMP package
jpegFormat.RemoveXmpData();
// commit changes
jpegFormat.Save(Common.MapDestinationFilePath(filePath));