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 from the file. I believe the information is stored within the file as the date I see when I hover the mouse pointer over the file in Win XP is different than what I can get by using JNI with ‘dir /TC’ on the file in DOS.
Share
The information is stored within the image in a format called EXIF or link text. There several libraries out there capable of reading this format, like this one