Simon Willison’s Weblog


Extracting EXIF data with Python

13th November 2003

I’ve been rewriting the photo gallery management system for in Python. One of the new features is that the system can automagically extract caption and photographer information from the photos, provided the information has previously been added to the jpeg file as EXIF data. I tried several methods of doing this but eventually settled on because it worked straight away using a simple process_file() function and doesn’t require any additional software. Recommended.

This is Extracting EXIF data with Python by Simon Willison, posted on 13th November 2003.

Next: The good and the ugly

Previous: Easy installers for PHP scripts

Previously hosted at