(file)
| 99 | return subprocess.run(['exiftool', file], |
| 100 | capture_output=True, text=True, check=True).stdout.strip() |
| 101 | def extract_xmp(file): |
| 102 | return subprocess.run(['exiftool', '-xmp', '-b', file], |
| 103 | capture_output=True, text=True, check=True).stdout.strip() |
| 104 | |
| 105 | |
| 106 | img1_exif_dump = extract_exif('app/fixtures/tiny_drone_image.jpg') |