May 15, 2009
Time for a picture
Ten minutes with Mathematica to illustrate why trying to rotate spins with transverse fields is futile...
Moving Picasa database from Window to Mac OS X
In the process of consolidating the digital presence of the family on a beefed-up MacBook, I have come to the point of moving the digital photo library. Moving the files almost did the trick, but to get my Picasa albums across, some hacking was required:
We currently handle the library with Google Picasa which (apart from being very nice to work with) does things "the right way": It does not touch your original photo files, allowing you organize your them according to your desires, and it stores the metadata in the most accessible form possible:
- Image edits does not affect original files: instead the edits are stored in picasa.ini files in the same folder as the file.
- Keywords (tags) and captions are stored as IPTC comments directly in the photo files.
Outline:
- Move photo files to mac. Make sure to grab a copy of
<picasadir>/Picasa3Albums (as a zip file)<picasadir>/Contacts/contacts.xml- Install and start Picasa, create an album and quit when scan has completed (skip face scan).
- Edit album (
.pal) files to match new file location. - Put .pal files as
~/Library/Application Support/Google/Picasa3/Picasa3Albums/<databaseid>/<albumid>.pal - Replace
<picasadir>/contacts/contacts.xmlwith old version - Delete
~/Library/Application Support/Google/Picasa3/db3to force database rebuild. - Start Picasa and watch your albums and people appear :)
Detailed notes
The album information are stored in.pal files below your google folder:
google
+ Database ID
+ Album1 ID.pal
+ Album2 ID.pal
+ Album3 ID.pal
+ ....
where Database ID and Album ID are MD5 hash strings. The google folder is located as follows:
- Vista
C:\Users\<username>\AppData\Local\Google- XP
C:\Documents and Settings\<username>\local application\Google- OS X
/Users/<username>/Application Support/Google/Picassa3/
Database ID and copy it to a zip on the mac (keep the original zipped because Picasa eats the pal files if it sees them when scanning).
The .pal files are xml files. Search and replace over all of them to get the image paths right. I used two passes: first pass to convert \ to /, and second pass to correct the beginning of the paths.
Update
Just added step 5 to include the 'people' data as well. The image-specific data is stored in thepicasa.ini file (again, Google is doing things the rights way), but this only links a given person to a unique number. To link that number to an actual person, you need to copy the file contacts.xml across as well.
Subscribe to:
Posts (Atom)