What field contains copyright info in EXIF?

428 Views Asked by At

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.

2

There are 2 best solutions below

0
On BEST ANSWER

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".

0
On

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()