This commit is contained in:
2025-12-18 10:40:08 +01:00
parent f2754cba35
commit 321a7e5b39
21 changed files with 1569 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import os
from exif import Image
file_name = "adam.jpg"
if not os.path.exists(file_name):
print(f"Brak pliku: {file_name}")
# kod błedu na podstawie https://questdb.com/docs/troubleshooting/os-error-codes/
exit(5)
with open(file_name, 'rb') as image_file:
image = Image(image_file)
print(image.list_all())