diff --git a/Tools/FocaleEq.py b/Tools/FocaleEq.py index 1b02ac6..4860ba5 100644 --- a/Tools/FocaleEq.py +++ b/Tools/FocaleEq.py @@ -1,4 +1,5 @@ from math import * +from exif import Image # Fonctions @@ -99,3 +100,9 @@ focale_35mm = (sqrt(pow(24,2)+pow(36,2))) / (2*tan(champ/2)) print('\nFocale équivalente 35 mm : {} mm' '\nAngle de champ : {}°'.format(focale_35mm,degrees(champ))) + + +rep = input('\nVoulez-vous écrire ces informations en EXIF dans des images (O/N) ? ') + +if rep == 'o': + chemin_images = input('Entrez le chemin vers les images : ') \ No newline at end of file