AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Exiftool tags8/3/2023 See FAQ #17 for more details on list type tags. That writes a single entry with a value of "one, two, three", not three separate entries. Each entry is stored completely separate from the others and you can't simply write -Subject="one, two, three". Those are fully separated list type tags and not comma separated strings. One additional thing to take note of is that the XPKeywords is different from the IPTC:Keywords and XMP:Subject tags. But Windows will rewrite it as a semicolon separated string if rewritten through the Properties window. import exiftool import os, errno files file.jpg with exiftool.ExifTool () as et: metadata et.gettag ('DateCreated', files) print (metadata) or, (skipping those two lines) as per your actual. By a quick change of your print statement, I got the expected date/time. The XPKeywords tag is supposed to be a semicolon separated string, but it looks like Windows will also accept a comma separated one. Since you're only pulling one tag, you should be able to just print it. Odds are, one or both of the first two have the data as well, and you're only updating XPKeywords. Those are IPTC:Keywords, XMP:Subject, and XPKeywords. If so, what is happening is that Windows will combine three separate tags to list under the "Tags" property. I suspect that you are using Windows->Properties to view the data. QuoteThe new keyword is added at the back of all of the existing keywords, even though I insert it as the first item in my array.Īre you using exiftool to check this or something else? Use the command in FAQ #3 to double check and see how the data is actually written. You can suppress the creation of backup files by adding the -overwrite_original option. Why does this happen and how do I prevent this from happening?īy default the original files are preserved with _original appended to their names - be sure to verify that the new files are OK before erasing the originals. ExifTool is a platform-independent Perl libraryplus a command-line applicationfor reading, writing and editing meta information in image, audio and video files. Quote from: schaakspeler on April 05, 2023, 10:49:23 AMFor each image a new JPG_ORIGINAL file is created.
0 Comments
Read More
Leave a Reply. |