LinuxSoftware

Coding and tramping in Aotearoa / New Zealand

Photo comments

You've got two choices on where to put your comments: JPEG or EXIF.

JPEG has a COM (comment) field which is what the Gimp uses. Gallery2 doesn't seem to display it though (I couldn't see a plugin which would, but it'd be easy to write one). Picasso it seems does?

http://en.wikipedia.org/wiki/Exchangeable_image_file_format http://en.wikipedia.org/wiki/JPEG

JHead seems like a good tool for manipulating and reading Jpeg comments. On Linux just go.... yum install jhead. http://www.sentex.net/~mwandel/jhead/ http://freshmeat.net/projects/jhead/

Gallery2 will display EXIF fields (configuraable which ones), and when photos are added to an album it can be set to apply the EXIF Image Description to the Item Summary or Item Description.

e.g. http://linuxsoftware.co.nz/photos/v/2008/misc/hikers_003.jpg.html

http://codex.gallery2.org/Gallery2:Modules:exif http://www.richbarrett.net/2006/08/31/gallery2-and-image-exif-tags/ http://gallery.menalto.com/node/12715

ExifTool seems the best for EXIF tags. On Linux... yum install perl-Image-ExifTool http://www.sno.phy.queensu.ca/~phil/exiftool/

e.g. exiftool -ImageDescription='David and Tim and Jess and Brendan and Simon' hikers.jpg

EXIF tags http://owl.phy.queensu.ca/~phil/exiftool/TagNames/EXIF.html

identify -verbose will also split out the metadata on Linux

There's a bunch of other tools too.

http://linux.die.net/man/1/exiv2 http://home.cfl.rr.com/maderik/edjpgcom/ http://www.hugsan.com/EXIFutils/ http://www.sb-software.com/jpegcommenter/ http://gallery.menalto.com/node/44909

This was interesting. I'll use ImageDescription myself from now on.