How can I add copyright information to an image using gexiv2? I've read this but couldn't find which field I need to edit for this.
Asked
Active
Viewed 298 times
1
-
2http://www.exiv2.org/tags.html – hjpotter92 Apr 06 '15 at 09:37
-
So your question actually is: "What field contains copyright info in EXIF?" – Thom Wiggers Apr 06 '15 at 09:38
-
@ThomWiggers guess that may be more appropriate. – evan54 Apr 06 '15 at 09:39
-
@hjpotter92 Do you want to evolve that into an answer so I can accept it? – evan54 Apr 06 '15 at 09:39
2 Answers
1
The Exiv2 library provides a comprehensive list of Exif tags available to you as defined by the Exif 2.2 standard.
You'd need to modify Exif.Image.Copyright
in particular. The tag ID is "0x8298".

hjpotter92
- 78,589
- 36
- 144
- 183
0
You can set exif tag information.
Here a sample code
import pyexiv2
metadata = pyexiv2.ImageMetadata("your_image.jpg")
metadata.read()
metadata["Exif.Image.Copyright"] = "Copyright, Harun ERGÜL. All rights reserved."
metadata.write()

Harun ERGUL
- 5,770
- 5
- 53
- 62