[Originally posted by aneumann on 2005-10-11 20:56:09-07]Hello,
I am looking for an example string/or data structure to set a GPSTimeStamp tag.
I tried with
($success, $errStr) = $exifTool->SetNewValue("GPSTimeStamp","09:13:00",Group=>'GPS');
but it did not work. The doc says that I need rational32u[3] - do you have an example how I build such a data structure.
For setting the date-stamp I could just use a format like "2005-10-09" and it worked.
Thanks for any example,
All the best,
Andreas
[Originally posted by exiftool on 2005-10-12 12:26:32-07]
I guess this could be clearer in the documentation. ExifTool automatically accepts all dates and times in the EXIF format (YYYY:MM:DD hh:mm:ss) and converts them as necessary. GPSTimeStamp is converted and saved automatically as 3 rational values (according to the EXIF specification). GPSDateStamp is stored as a string though, and no conversion is performed because the string is a standard EXIF date string (YYYY:MM:DD).
[Originally posted by aneumann on 2005-10-12 13:02:12-07]
Thanks for responding.
I just found out that the GPSTimeStamp data was added correctly, but there was a bug in Graphics Converter, where I checked the values. After double-checking in Photoshop I saw that the EXIF-Data was there, but Graphics Converter just displayed the hour value.
So, it was a bug in Graphics Converter, which I already reported.
Sorry, for bothering you.
Andreas