tags:

views:

64

answers:

2

How do i read EXIF data from an image without the use of external scripts in python? I don't want to use any prewritten scripts.

Thanks!

+3  A: 

You can use exif.py. If you don't want it to be an external module (it wouldn't necessarily be used as a script anyway), you can just copy all 1767 lines right inside your own module. If your objection is to "prewritten", you can study and then rewrite the 1767 lines in question, if you have a few days to waste, but I don't understand why you'd want to do that.

Alex Martelli
Just to learn it. Hahaha, but if it is that many lines i will use the exif.py. Thanks :)
Jake
+1  A: 

I agree with Alex - the work has been done already! But if you just want to flex your brain muscle, this is where I would start:

EXIF Specifications

edit

Here is the official repository for the specification:

Japan Electronics and Information Technology Industries Association - Digital Cameras

Jeremy Brown