![]() Interoperability: Interoperability information (sub-IFD).Thumbnail: information related to the thumbnail image, if present (IFD1 of the Exif data).Image: information related to the main image (IFD0 of the Exif data).Tags are divided into these main categories: 'EXIF DateTimeOriginal', 'Image Orientation', 'MakerNote FocusMode' Tag Descriptions Note that the dictionary keys are the IFD name followed by the tag name. Makernotes used by some cameras, for which we have a good specification. The tags dictionary will include keys for all of the usual Exif tags, and will also include keys for keys (): if tag not in ( 'JPEGThumbnail', 'TIFFThumbnail', 'Filename', 'EXIF MakerNote' ): print "Key: %s, value %s " % ( tag, tags )Īn if statement is used to avoid printing out a few of the tags that tend to be long or boring. In particular, you can iterate through all the tags with for tag in tags. Returned tags will be a dictionary mapping names of Exif tags to their Python Script import exifreader # Open image file for reading (binary mode) f = open ( path_name, 'rb' ) # Return Exif tags tags = exifread. 3.5 Support will likely be removed in future releasesįind ~/Pictures -name "*.jpg" -name "*.heic" -name "*.tiff" | xargs EXIF.py.CompatibilityĮxifreader is tested and officially supported on the following Python versions: The recommend process is into install exifreader from the PyPi package Originally written by Gene Cash & Thierry Bousch. Fork of Exif.py from ianare and used under BSD LicenseĮasy to use Python module to extract Exif metadata from tiff and jpeg files.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |