Premières lignes pour l'écriture des infos en EXIF.
Signed-off-by: Lucas MATHIEU <lucas.mathieu@luc-geo.fr>
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
from math import *
|
from math import *
|
||||||
|
from exif import Image
|
||||||
|
|
||||||
# Fonctions
|
# Fonctions
|
||||||
|
|
||||||
@@ -99,3 +100,9 @@ focale_35mm = (sqrt(pow(24,2)+pow(36,2))) / (2*tan(champ/2))
|
|||||||
|
|
||||||
print('\nFocale équivalente 35 mm : {} mm'
|
print('\nFocale équivalente 35 mm : {} mm'
|
||||||
'\nAngle de champ : {}°'.format(focale_35mm,degrees(champ)))
|
'\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 : ')
|
||||||
Reference in New Issue
Block a user