How to get date picture created in java

后端 未结 5 2380
青春惊慌失措
青春惊慌失措 2021-02-20 16:26

I would like to extract the date a jpg file was created. Java has the lastModified method for the File object, but appears to provide no support for extracting the created date

5条回答
  •  感动是毒
    2021-02-20 17:23

    You probably need something to access the exif data. Google suggests this library.

提交回复
热议问题