GroupDocsGists
10/19/2017 - 11:26 AM

UpdateExifValuesUsingPropertiesJpegImage.vb

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

' get EXIF data
Dim exif As JpegExifInfo = DirectCast(jpegFormat.ExifValues, JpegExifInfo)

' set artist
exif.Artist = "new test artist"

' set the name of the camera's owner
exif.CameraOwnerName = "new camera owner's name"

' set description
exif.ImageDescription = "update test description"

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