Exiv2

Latest version: v0.16.3.post1

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

Scan your dependencies

Page 2 of 21

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.

2.6.4

- Add two variables to get the version. ( Issue 80 )
py
>>> import pyexiv2
>>> pyexiv2.__version__
'2.6.4'
>>> pyexiv2.__exiv2_version__
'0.27.4'

2.6.3

- [Fix 74] Recompile the library on win_amd64 platform to support enableBMFF().

2.6.2

Page 2 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.