Free Trial
10 days, no credit_card

<< More Tutorials

How to read Exif data in json format from an image in Python 2 using rethumb?

To read Exif data in json format from an image in Python 2 use the following code:

import urllib2
import json

response = urllib2.urlopen("http://api.rethumb.com/v1/exif/all/http://images.rethumb.com/image_exif_1.jpg")

json_data = json.loads(response.read())

print json_data

Start using this example now

Use the following commands to get started:

$ git clone https://github.com/rethumb/rethumb-python2-examples.git
$ cd rethumb-python2-examples
$ python read-exif-data-in-json.js

More examples using Python 2