Mike Driscoll: How to Get TIFF MetaData with Python (opens in new tab)
In previous The TIFF format also has its metadata. Pillow provides a similar dictionary for TIFF images in its TiffTags module. If you need a TIFF image, you can use this one, which is a cover from one of the author’s other books on ReportLab: You can create your own TIFF metadata extractor utility by making a new file named tiff_metadata.py and adding this code to it: # tiff_metadata.py from PIL import Image from PIL.TiffTags import TAGS def get_metadata(image_file_path): image = Image.open(...
Read the original article