ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 [IEvolution] GPS Exif Data won't save
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

MattOV

Australia
17 Posts

Posted - Mar 19 2012 :  22:10:35  Show Profile  Reply
Hi there,

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.

Any thoughts.

thanks

fab

1310 Posts

Posted - Mar 20 2012 :  00:29:56  Show Profile  Reply
Hi,
please set also EXIF_HasEXIFData = true.
Go to Top of Page

MattOV

Australia
17 Posts

Posted - Mar 20 2012 :  00:40:13  Show Profile  Reply
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.

Any further suggestions?


Go to Top of Page

fab

1310 Posts

Posted - Mar 20 2012 :  14:14:37  Show Profile  Reply
Please try to set EXIF_GPSVersionID = "2.0.0.0".
Go to Top of Page

MattOV

Australia
17 Posts

Posted - Mar 20 2012 :  16:54:57  Show Profile  Reply
Thanks Fabrizio.

That was the problem!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: