Hey community,
Since a few days I'm stuck while trying to get the date of a .jpg or .png image file, when the picture was taken. I believe it was called DateTimeOriginal. What I'm trying to do, is getting just this one specific info, DateTimeOriginal, not more, not less.
This is part of a selfmade project, a program to sort pictures by the date when they were taken. I'm programming with VB, and for the exif data I'm calling a batch file.
So i know how to use the exiftool. It's common use is:
exiftool file.jpg
But I need something like:
exiftool -DateTimeOriginal file.jpg >> DateTaken.txt
I have tried this one, but I'm not getting the Date, I only got a list of any jpg found in the directory, but without metadata.
I was searching so long for any option like this, but I can't find anything useful. Perhaps there is another, more efficient way to get metadata of an image, only using VB.
Has anyone an advise or other idea?
Thanks
.pngpictures does not store exif data.Even injpgfile the data can be deleted. You take a look at tooltipinfo.bat which can read the exif data through the windows api . - npocmakaeXIfancillary chunks. See ftp-osl.osuosl.org/pub/libpng/documents/… - StarGeek