support@perfectcomputer.in
10 Golam Sovan Lane, Kolkata-700016

Download Img 20221022 Wa0000 Jpg -

JPEG Image

return { 'image_size': image_size, 'image_width': image_width, 'image_height': image_height, 'exif_data': properties } Download IMG 20221022 WA0000 jpg

if image_properties['exif_data']: print('Exif Data:') for tag, value in image_properties['exif_data'].items(): print(f"{tag}: {value}") JPEG Image return { 'image_size': image_size

if exif_data: for tag, value in exif_data.items(): tag_name = TAGS.get(tag, tag) properties[tag_name] = value value in exif_data.items(): tag_name = TAGS.get(tag

image_size = os.path.getsize(image_path) image_width, image_height = image.size

Download IMG 20221022 WA0000 jpg

import os from PIL import Image from PIL.ExifTags import TAGS