This commit is contained in:
2026-03-17 15:07:37 +01:00
parent 220ad7ec89
commit ead89ae1d9

View File

@@ -2,12 +2,13 @@ from exif import Image
def info(file_name):
ret = f"Info: {file_name} - "
try:
with open(file_name, mode="rb") as file:
img_bin = Image(file)
dane = img_bin.get_all()
ret += str(dane)
except:
ret += "Bład pliku"
return ret
print(
info("images/IMG_12330.jpg")
)
print(info("images/IMG_123311x.jpg"))