<< More Tutorials
How to read Exif data in json format from an image in Python 3 using rethumb?
To read Exif data in json format from an image in Python 3 use the following code:
from urllib.request import urlopen
import json
response = urlopen("http://api.rethumb.com/v1/exif/all/http://images.rethumb.com/image_exif_1.jpg")
json_data = json.loads(response.read().decode("utf-8"))
print(json_data)
Start using this example now
Use the following commands to get started:
$ git clone https://github.com/rethumb/rethumb-python3-examples.git
$ cd rethumb-python3-examples
$ python3 read-exif-data-in-json.js
More examples using Python 3
How to use rethumb in Python 3?
How to resize an image by width in Python 3 using rethumb?
How to resize an image by height in Python 3 using rethumb?
How to resize an image by width and height in Python 3 using rethumb?
How to create a square thumbnail from an image in Python 3 using rethumb?
How to read Exif data in json format from an image in Python 3 using rethumb?
How to make an image responsive in Python 3 using rethumb?
How to read GPS coordinates from an image in Python 3 using rethumb?
How to convert an image to JPG, GIF, PNG, TIF or WebP in Python 3 using rethumb?
How to resize an image to cover any dimensions in Python 3 using rethumb?