ExifPackage

IExif.ExifPackage property

Gets or sets the EXIF metadata package associated with the file.

public ExifPackage ExifPackage { get; set; }

Property Value

The EXIF metadata package associated with the file.

Remarks

Learn more

Examples

This code sample shows how to remove EXIF metadata from a file.

using (Metadata metadata = new Metadata(Constants.JpegWithExif))
{
    IExif root = metadata.GetRootPackage() as IExif;
    if (root != null)
    {
        root.ExifPackage = null;

        metadata.Save(Constants.OutputJpeg);
     }
}

See Also