Skip to content

Read/Write metadata(including EXIF, IPTC, XMP), comment and ICC Profile embedded in digital images.

License

Notifications You must be signed in to change notification settings

torchesburn/pyexiv2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyexiv2

Read/Write metadata(including EXIF, IPTC, XMP), comment and ICC Profile embedded in digital images.

Features

  • Base on C++ API of Exiv2 and invoke it through pybind11.
  • Supports running on Linux, MacOS and Windows, with CPython interpreter(64bit, including 3.5 3.6 3.7 3.8 3.9).
    If you want to run pyexiv2 on another platform, you can compile it yourself. See pyexiv2/lib.
  • 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.

Docs

Tests

There are some test cases in folder pyexiv2/tests.

About

Read/Write metadata(including EXIF, IPTC, XMP), comment and ICC Profile embedded in digital images.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 75.5%
  • C++ 21.1%
  • Shell 3.4%