How to Change image captured date in python?

前端 未结 4 1407
清酒与你
清酒与你 2021-02-13 19:43

I have over 500 images (png /jpg) having wrong captured date (Date taken) because of wrong camera date settings. I moved photos to mobile and mobile gallery sorts photos on the

4条回答
  •  南方客
    南方客 (楼主)
    2021-02-13 20:15

    No real need to write Python, you can do it in one line in the Terminal using jhead. For example, adjust all EXIF times forward by 1 hour

    jhead -ta+1:00 *.jpg
    

    Make a COPY of your files and test it out on that first!

    Download from here.

提交回复
热议问题