Coverage for pyguymer3/image/load_EXIF.py: 17%
6 statements
« prev ^ index » next coverage.py v7.9.2, created at 2025-07-08 18:47 +0000
« prev ^ index » next coverage.py v7.9.2, created at 2025-07-08 18:47 +0000
1#!/usr/bin/env python3
3# Define function ...
4def load_EXIF(
5 fname,
6 /,
7 *,
8 compressed = False,
9 exiftoolPath = None,
10 python = True,
11 timeout = 60.0,
12):
13 # Import sub-functions ...
14 from .load_EXIF1 import load_EXIF1
15 from .load_EXIF2 import load_EXIF2
17 # Check what the user wants ...
18 if python:
19 # Will use the Python module "exifread" ...
20 return load_EXIF1(fname)
22 # Will use the binary "exiftool" ...
23 return load_EXIF2(
24 fname,
25 compressed = compressed,
26 exiftoolPath = exiftoolPath,
27 timeout = timeout,
28 )