set_metadata_pixel_height() aborts python calling terminate after an Exiv2::BasicError<char> exception
This is a python3 interactive session run from the root of gexiv2 source tree:
$ python3
Python 3.7.0 (default, Aug 30 2018, 14:32:33)
[GCC 8.2.1 20180801 (Red Hat 8.2.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from gi import require_versions ; require_versions ({'GExiv2': '0.10'}) ; from gi.repository import GExiv2
>>> m = GExiv2.Metadata ()
>>> m.open_path ('test/data/original.jpg')
True
>>> h = m.get_metadata_pixel_height()
>>> m.set_metadata_pixel_height (h)
terminate called after throwing an instance of 'Exiv2::BasicError<char>'
what(): Invalid tag name or ifdId `ImageHeight', ifdId 1
Aborted (core dumped)
I'm on Linux Fedora 29(beta)
$ pkg-config --modversion exiv2 gexiv2
0.26
0.10.8
Replacing here "Exif.Image.ImageHeight" with "Exif.Image.ImageLength" prevents the crash, replacing the other two occurrences preserves consistency.
Could be worth it to double check also whether Xmp.tiff.ImageHeight should be Xmp.tiff.ImageLength or not