pyexiftool behaves differently than the command-line tool #82
Unanswered
RawOnion69
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have a requirement to clear the value of the XMP-dc:Creator field in a JPG image file, but keep the field itself intact.
In the Windows command-line tool this is done by:
exiftool "-XMP-dc:Creator= " example.jpg
However when this is done using the pyexiftool module, the whole tag gets deleted:
from exiftool import ExifTool
with ExifTool() as et:
et.execute("-XMP-dc:Creator= ", "example.jpg")
Is there a way to clear the value of a tag using the Python module whilst keeping the tag in question intact?
Cheers,
Martijn
Beta Was this translation helpful? Give feedback.
All reactions