ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: yarda on February 26, 2016, 01:55:12 PM

Title: Picasa metadata into EXIF with ExifTool
Post by: yarda on February 26, 2016, 01:55:12 PM
Hello there,

I've noticed that you discussed Picasa-related topics before. So, maybe you can help me with this one too...

I do not want to invest too much time into developing a script/something which might be around already - did not find anything on Google tho'.. :-)

I have the famous .picasa.ini file which contains sections like the following one:

[20160131.Picture.jpg]
caption=31/01 - Beautiful picture
geotag=50.035803,14.135728
originhash=23f1c865ba7a03ee0000000000000000
rotate=rotate(0)

And I would like to export caption and geotag ideally into the following XML structure as the life would be easy for me then... :-D

<?xml version='1.0' encoding='UTF-8'?>
<rdf:RDF>
<rdf:Description>
<FileName>20160131.Picture.jpg</FileName>
<Description>31/01 - Beautiful picture</Description>
<GPS:GPSLatitude>50.035803</GPS:GPSLatitude>
<GPS:GPSLongitude>14.135728</GPS:GPSLongitude>
<GPS:GPSAltitude></GPS:GPSAltitude>
</rdf:Description>
</rdf:RDF>

Any ideas how to parse the flat structure into xml with something which is around already?

Thank you,
Yarda.
Title: Re: Picasa metadata into EXIF with ExifTool
Post by: StarGeek on February 26, 2016, 05:49:57 PM
That's interesting.  What version of Picasa are you using?  I've never seen those entries in my .picasa.ini files.  For me, the caption was always written directly to the XMP:Description tag.  I never tried to geotag with Picasa and it currently doesn't work for me, throwing a script error with the google map api.   

Title: Re: Picasa metadata into EXIF with ExifTool
Post by: yarda on February 27, 2016, 11:05:47 AM
Just download a web album into Picasa - I use 3.9 (I think), the latest.(for sure). The .picasa.ini contains other valuable info. Maps working for me like a charm - I mean, not for long as Google announced the retirement of Picasa.