colour_hdri.parse_exif_fraction#
- colour_hdri.parse_exif_fraction(exif_tag: EXIFTag, dtype: Type[DTypeFloat] | None = None) float [source]#
Parse given EXIF tag assuming it is a fraction and return its value.
- Parameters:
exif_tag (EXIFTag) – EXIF tag to parse.
dtype (Type[DTypeFloat] | None) – Return value data type.
- Returns:
Parsed EXIF tag value.
- Return type: