GroupDocsGists
10/19/2017 - 11:33 AM

UpdateCameraRawXmpPropertiesGifImage.vb

'For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
' initialize GifFormat
Dim GifFormat As New GifFormat(Common.MapSourceFilePath(filePath))

' get access to CameraRaw schema
Dim package = GifFormat.XmpValues.Schemes.CameraRaw

' update properties
package.AutoBrightness = True
package.AutoContrast = True
package.CropUnits = CropUnits.Pixels

' update white balance
package.SetWhiteBalance(WhiteBalance.Auto)

' commit changes
GifFormat.Save(Common.MapDestinationFilePath(filePath))