![]() ![]() This function extracts the EXIF data and then returns the results as a Python dictionary. Line 116: here we are calling the pyexifinfo function get_json.Lines 105-114: if it is a new unique image (105) we add the hash to our list of image hashes (107) and then we write the image out to disk (111). ![]() This also prevents us from having multiple copies of exact duplicate images. ![]() This allows us to have multiple images at with the same file name but if the contents of the image are different (even by one byte) then we will track them separately.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |