Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

image resolution extracting python

from PIL import Image, ExifTags
img = Image.open("/path/to/file.jpg")
exif = { ExifTags.TAGS[k]: v for k, v in img._getexif().items() if k in ExifTags.TAGS }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #image #resolution #extracting #python
ADD COMMENT
Topic
Name
9+3 =