diff --git a/pyexiv2/__init__.py b/pyexiv2/__init__.py index a04b1f4..5bd43eb 100644 --- a/pyexiv2/__init__.py +++ b/pyexiv2/__init__.py @@ -27,3 +27,9 @@ 'convert_xmp_to_exif', 'convert_xmp_to_iptc', ] + + +def ImageMetadata(*args, **kwargs): + raise NameError('ImageMetadata() is the API of py3exiv2, see https://pypi.org/project/py3exiv2 . ' + + 'However, the library you imported is pyexiv2, see https://pypi.org/project/pyexiv2 .') +