This commit is contained in:
2026-03-17 14:49:32 +01:00
parent 38c27e03fb
commit 220ad7ec89
2 changed files with 13 additions and 0 deletions

13
dzien_01/d_05_exif.py Normal file
View File

@@ -0,0 +1,13 @@
from exif import Image
def info(file_name):
ret = f"Info: {file_name} - "
with open(file_name, mode="rb") as file:
img_bin = Image(file)
dane = img_bin.get_all()
ret += str(dane)
return ret
print(
info("images/IMG_12330.jpg")
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB