colour_hdri.parse_exif_fraction

colour_hdri.parse_exif_fraction(exif_tag, dtype=<class 'numpy.float64'>)[source]

Parses given exif tag assuming it is a fraction and return its value.

Parameters:
  • exif_tag (ExifTag) – Exif tag to parse.
  • dtype (object, optional) – Return value data type.
Returns:

Parsed exif tag value.

Return type:

numeric