I have thus far been looking for for other packages that might support my file with no avail.ĭoes anyone know how the edit can be acomlished in Python without deleting existing exif info, and without changing the image format? This works fine in Python 3 for jpeg files, but when I try and use the same code to edit my tif file, I get the following error: setImageDateTakenAttribute(full_path, folder_date)įile "image-and-movie-bulk-creation-dates.py", line 78, in setImageDateTakenAttributeįile "C:\Python37\lib\site-packages\piexif\_insert.py", line 39, in insert import piexifĭef setImageDateTakenAttribute(filename, date_taken): Using the following Python code on Windows 10, I am trying to edit the EXIF info for "Date Taken" on a tif image file created with Nikon Scan 4.0.3 (software from around 2008).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |