1

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.

hjpotter92
  • 78,589
  • 36
  • 144
  • 183
evan54
  • 3,585
  • 5
  • 34
  • 61

2 Answers2

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