본문 바로가기
파이썬

파이썬 Get date and time when photo was taken from EXIF data using PIL

by º기록 2020. 12. 15.
반응형


 

해결 방법

 


from PIL import Image
def get_date_taken(path):
    return Image.open(path)._getexif()[36867]

 

참조 페이지 https://stackoverflow.com/questions/23064549

 

 

반응형