Just started using IEvolution and want to add GPS Exif daya to jpeg files. I have created a new GPS Position object and set the IOParams..::EXIF_GPSLatitude Property and then used the InjectJPEGExif method. However the GPS data is not stored.
Thanks for the feedback. I did as yuo suggested and still no luck.
My code is: With Me.IeViewer1.Image.IOParams .EXIF_HasEXIFData = True .EXIF_XPTitle = "An Exif Test" .EXIF_XPAuthor = "John Smith" .EXIF_Artist = "J Smith" .EXIF_GPSLatitude = New HiComponents.IEvolution.IOParams.GPSPosition(HiComponents.IEvolution.IOParams.GPSCoordinateReference.South, 22, 9, 0) End With MsgBox(Me.IeViewer1.Image.InjectJpegEXIF(Me.Filename))
Message Box returns true and XPTitle, XPAuthor and Artist all save correctly.
Another image where I have added GPS Latitude using different software allows me to change the value. SO it seems it is not creating a new Exif record.