usmanazizgroupdocs
12/9/2015 - 7:35 AM

RemoveXmpPropertiesJpegImage.cs

// 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));