pyexiv2
pyexiv2 copied to clipboard
Read and write image metadata, including EXIF, IPTC, XMP, ICC Profile.
pyexiv2
Read/Write metadata(including EXIF, IPTC, XMP), comment and ICC Profile embedded in digital images.
- Install:
pip install pyexiv2
- Source code on GitHub
Features
- Base on C++ API of Exiv2 and wrapped with pybind11.
- Supports running on 64bit Linux, MacOS and Windows, with CPython(≥3.5) interpreter.
- Supports various image metadata
- Supports various image formats
- Supports opening images based on the file path or from bytes data.
- Supports Unicode characters that contained in image path or metadata.
Defects
- Can't read the image larger than 2G, or modify the image larger than 1G. (related issue)
- Not thread safe, because it uses some global variables in C++.
Docs
-
Similar projects:
Tests
There are some test cases in folder pyexiv2/tests.