![]() Thumbnail Image : (Binary data 5448 bytes, use -b option to extract) Interoperability Index : R98 - DCF basic file (sRGB)Įncoding Process : Baseline DCT, Huffman coding InfoDict.strip()] = line.strip()įull Tag list is here: """ ExifTool Version Number : 11.63ĭirectory : /Projects/ImageMetaData/ImagesĮxif Byte Order : Little-endian (Intel, II)Ĭanon Firmware Version : Firmware Version 1.10 Process = subprocess.Popen(,stdout=subprocess.PIPE, stderr=subprocess.STDOUT,universal_newlines=True) ![]() ''' use Exif tool to get the metadata ''' ( infoDict = #Creating the dict to get the metadata tagsĮxifToolPath = 'D:/ExifTool/exifTool.exe' #for Windows user have to specify the Exif tool exe path for metadata extraction. Please refer the below code snippet to get the meta data using exif tool. It is a command line tool and to use it in Python user have to create a subprocess and pass the tool and image file path as an argument. This is recommended approach to get the meta data as it gives more tags than any other way. You can now run ExifTool anywhere in your terminal by typing exiftool. You can install ExifTool on Ubuntu using the apt utility ![]() There is couple of ways by which you can get the data from the file. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |