Re: How to get Exif data from a jpeg file

2009-05-18 Thread BJ Swope
On Sun, May 17, 2009 at 4:17 AM, Arnaud Delobelle wrote: > > Daniel Fetchinson writes: > > >> I need to get the creation date from a jpeg file in Python.  Googling > >> brought up a several references to apparently defunct modules.  The best > >> way I have been able to find so far is something l

Re: How to get Exif data from a jpeg file

2009-05-17 Thread Arnaud Delobelle
Daniel Fetchinson writes: >> I need to get the creation date from a jpeg file in Python. Googling >> brought up a several references to apparently defunct modules. The best >> way I have been able to find so far is something like this: >> >> from PIL import Image >> img = Image.open('img.jpg')

Re: How to get Exif data from a jpeg file

2009-05-16 Thread Daniel Fetchinson
> I need to get the creation date from a jpeg file in Python. Googling > brought up a several references to apparently defunct modules. The best > way I have been able to find so far is something like this: > > from PIL import Image > img = Image.open('img.jpg') > exif_data = img._getexif() > cre