Set Exif.Image.XPAuthor
I use a python script renaming and copying some jpg-files and also the set the Exif,Image.
import pyexiv2 as pe
def set_author(
metadata = pe.ImageMetadat
metadata.read()
metadata[
metadata.
There, both parameters are stings, the first is the path of the file to change and the second is the author which should be written to the file.
If I use this for a new photo I made, it doesn't work. But if I use it after the Author was changed "manually" using the properties window in windows explorer, all works fine.
What do I have to change, such that it works in every case, i,e., also for "new" pictures?
System: Windows XP and Python 2.7, pyexiv2 0.3.0.
Thanks in advance.
Martin Trinks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- pyexiv2 Edit question
- Assignee:
- Olivier Tilloy Edit question
- Solved by:
- Martin Trinks
- Solved:
- Last query:
- Last reply: