Skip to content

Releases: LeoHsiao1/pyexiv2

v2.12.0

27 Jan 13:27
723c435
Compare
Choose a tag to compare
  • [feature] add copy_to_another_image() . See the tutorial for details.
  • [feature] support write duplicate exif key (Issue #133 )
  • [lib] update exiv2 from 0.27.7 to v0.28.1 (Issue #132 )

v2.11.0

13 Dec 15:10
Compare
Choose a tag to compare
  • [feature] add four functions:
    def convert_exif_to_xmp(data: dict, encoding='utf-8') -> dict
    def convert_iptc_to_xmp(data: dict, encoding='utf-8') -> dict
    def convert_xmp_to_exif(data: dict, encoding='utf-8') -> dict
    def convert_xmp_to_iptc(data: dict, encoding='utf-8') -> dict
    See the tutorial for details

v2.9.0

01 Dec 13:44
Compare
Choose a tag to compare
  • [feature] Support modifying the XmpBag and XmpSeq data structures when using modify_xmp() . (issue #126)
  • [bugfix] Avoid modifing input data in modify_exif() (commit dfddde6)
  • End support for python3.5

v2.8.3

09 Oct 12:39
Compare
Choose a tag to compare

Add releases for python 3.12

v2.8.2

28 Jul 12:30
Compare
Choose a tag to compare

update exiv2 to v0.27.7

v2.8.1

30 Oct 07:17
Compare
Choose a tag to compare
  • Add releases for Python3.11
  • Update Exiv2 lib to v0.27.5

v2.8.0

19 Aug 15:07
ef15366
Compare
Choose a tag to compare

Add three methods to access thumbnails:

img.read_thumbnail()
img.modify_thumbnail()
img.clear_thumbnail()

See the Tutorial for details.

v2.7.1

27 Oct 14:53
Compare
Choose a tag to compare
  • Add releases for Python3.10

v2.7.0

24 Aug 13:00
Compare
Choose a tag to compare

Add four features:

  • Convert XMP tag of type LangAlt to a dict.
    Old version:

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

    Now:

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

    >>> img.get_mime_type()
    'image/jpeg'
  • Add Image.get_access_mode()

    >>> img.get_access_mode()
    {'exif': 'read+write', 'iptc': 'read+write', 'xmp': 'read+write', 'comment': 'read+write'}
  • Add registerNs()

    >>> 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 for details.

v2.6.4

05 Aug 14:07
Compare
Choose a tag to compare
  • Add two variables to get the version. ( Issue #80 )
    >>> import pyexiv2
    >>> pyexiv2.__version__
    '2.6.4'
    >>> pyexiv2.__exiv2_version__
    '0.27.4'