RemoveImageResourcePackage

JpegRootPackage.RemoveImageResourcePackage method

Removes Photoshop Image Resource metadata package.

public void RemoveImageResourcePackage()

Remarks

Learn more

Examples

This code snippet demonstrates how to remove Photoshop metadata from a JPEG image.

using (Metadata metadata = new Metadata(Constants.JpegWithIrb))
{
    var root = metadata.GetRootPackage<JpegRootPackage>();
    root.RemoveImageResourcePackage();

    metadata.Save(Constants.OutputJpeg);
}

See Also