Pyexiv2

Latest version: v2.15.3

Safety actively analyzes 688532 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

2.8.3

Add releases for python 3.12

2.8.2

2.8.1

- Add releases for Python3.11
- Update Exiv2 lib to v0.27.5

2.8.0

Add three methods to access thumbnails:
py
img.read_thumbnail()
img.modify_thumbnail()
img.clear_thumbnail()

See the [Tutorial](https://github.com/LeoHsiao1/pyexiv2/blob/master/docs/Tutorial.md) for details.

2.7.1

- Add releases for Python3.10

2.7.0

Add four features:
- Convert XMP tag of type LangAlt to a dict.
Old version:
py
>>> img.read_xmp()['Xmp.dc.title']
'lang="x-default" test-中文-, lang="de-DE" Hallo, Welt'

Now:
py
>>> img.read_xmp()['Xmp.dc.title']
{'lang="x-default"': 'test-中文-', 'lang="de-DE"': 'Hallo, Welt'}


- Add Image.get_mime_type()
py
>>> img.get_mime_type()
'image/jpeg'


- Add Image.get_access_mode()
py
>>> img.get_access_mode()
{'exif': 'read+write', 'iptc': 'read+write', 'xmp': 'read+write', 'comment': 'read+write'}


- Add registerNs()
py
>>> img.modify_xmp({'Xmp.test.mytag1': 'Hello'})
RuntimeError: No namespace info available for XMP prefix `test'
>>> pyexiv2.registerNs('a namespace for test', 'Ns1')
>>> img.modify_xmp({'Xmp.Ns1.mytag1': 'Hello'})
>>> img.read_xmp()['Xmp.Ns1.mytag1']
'Hello'


See the [Tutorial](https://github.com/LeoHsiao1/pyexiv2/blob/master/docs/Tutorial.md) for details.

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.