colour_hdri.parse_exif_number#

colour_hdri.parse_exif_number(exif_tag: EXIFTag, dtype: Type[DTypeReal] | None = None) Real[source]#

Parse given EXIF tag assuming it is a number type and return its value.

Parameters:
  • exif_tag (EXIFTag) – EXIF tag to parse.

  • dtype (Type[DTypeReal] | None) – Return value data type.

Returns:

Parsed EXIF tag value.

Return type:

numpy.floating or numpy.integer