ValueError: 0 is not a valid Orientation returned from the Image.get_all() method
When trying to obtain exif metadata from a group of images using the Image.get_all() method: a ValueError: 0 is not a valid Orientation is returned
image.get_all() Traceback (most recent call last): File "", line 1, in File "/home/urra/opt/miniconda3/envs/pto/lib/python3.9/site-packages/exif/_image.py", line 180, in get_all tag_value = self.getattr(tag_name) File "/home/urra/opt/miniconda3/envs/pto/lib/python3.9/site-packages/exif/_image.py", line 101, in getattr return getattr(self._segments["APP1"], item) File "/home/urra/opt/miniconda3/envs/pto/lib/python3.9/site-packages/exif/_app1_metadata.py", line 546, in getattr return ifd_tag.read() File "/home/urra/opt/miniconda3/envs/pto/lib/python3.9/site-packages/exif/ifd_tag/_short.py", line 96, in read retval = enum_type(as_int) File "/home/urra/opt/miniconda3/envs/pto/lib/python3.9/enum.py", line 384, in call return cls.new(cls, value) File "/home/urra/opt/miniconda3/envs/pto/lib/python3.9/enum.py", line 702, in new raise ve_exc ValueError: 0 is not a valid Orientation