Search for comments in JPEG headers

Nov 26, '04 09:25:00AM

Contributed by: robg

Over on the forum site, thorsten.b. was looking for a way to search the header information in a bunch of JPEG images for a particular comment.

Two possible methods were suggested -- mark hunte recommended the first is a Unix program called rdjpgcom. This app can be installed via Fink, or you can install it yourself from source -- I found this page which provides a few helpful install instructions. Once installed, use man rdjpgcom for information on how to use the application.

The other method is an AppleScript, written by robJ, that creates a text file containing the path to matching files, and the contents of the matching files' comment fields. Check out the forum thread for the script's source...

I haven't directly tested either of these, but thought it might be helpful to some folks out there.

Comments (7)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20041126062556657