A simple module for Gallery 3 which uses exiftool to write changed metadata into JPG files.
There are a number of huge caveats:
- It's not particularly well tested. It may eat all of your files.
 - Requires exiftool, and furthermore is hardcoded to look for
/usr/bin/exiftool-- that should be an option. - Only handles 
TitleandDescription. - A little slow.
 
On the plus side:
- It seems to work for me.
 - Tries to avoid changing things which don't need changing.
 - It does rudimentary error checking and should at least log if it's broken something.