我需要从作为 FileStream 读取的图像文件中删除元数据
var loadOption = new LoadOptions(GroupDocs.Metadata.Common.FileFormat.Jpeg);
using (var metadata = new Metadata(fileStream, loadOption))
{
var affected = metadata.Sanitize();
metadata.Save(outStream);
}
错误:“metadata.Sanitize()”引发了“System.NotSupportedException”类型的异常