+ 2

How to extract metadata using Python 3.5.4?

i have tried _getexif().items function but l got an Attribute error.

10th Aug 2018, 9:23 PM
Adroit Joshua Tsaura
Adroit Joshua Tsaura - avatar
4 Respostas
+ 1
metadata of what?
10th Aug 2018, 9:37 PM
Bebida Roja
Bebida Roja - avatar
+ 1
import os import sys from PIL import Image from PIL.ExifTags import TAGS image = sys.argv[1] for (tag,value) in Image.open(image)._getexit().items(): print("%s = %s" %(TAGS.get(tag),value))
10th Aug 2018, 9:46 PM
Adroit Joshua Tsaura
Adroit Joshua Tsaura - avatar
0
metadata of an image
10th Aug 2018, 9:43 PM
Adroit Joshua Tsaura
Adroit Joshua Tsaura - avatar
0
i dont know
10th Aug 2018, 9:46 PM
Bebida Roja
Bebida Roja - avatar