code: def extract_image_size(self):
          '''
          Extract image height and width
          '''
          width, _ = self._extract_alternative_fields(
              ['Image ImageWidth', 'EXIF ExifImageWidth'], -1, int)
          height, _ = self._extract_alternative_fields(
              ['Image ImageLength', 'EXIF ExifImageLength'], -1, int)
          return width, heighf extract_image_size(self):
          '''
          Extract image height and width
          '''
          width, _ = self._extract_alternative_fields(
              ['Image ImageWidth', 'EXIF ExifImageWidth'], -1, int)
          height, _ = self._extract_alternative_fields(
              ['Image ImageLength', 'EXIF ExifImageLength'], -1, int)
          return width, height
docs: Extract image height and width