Get "EXIF:DateTaken" with NConvert

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: XnTriq, helmut, xnview

User avatar
Peter2
XnThusiast
Posts: 1347
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Get "EXIF:DateTaken" with NConvert

Post by Peter2 »

I try to use NConvert inside a AHK (AutoHotKey) Script, and there I want to extract and save and reuse the value of "EXIF:DateTaken". Is this possible?
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
xnview
Author of XnView
Posts: 44451
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Get "EXIF:DateTaken" with NConvert

Post by xnview »

you would like to extract EXIF:DateTaken value to use it in your script, right?
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1347
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Get "EXIF:DateTaken" with NConvert

Post by Peter2 »

xnview wrote: Wed Jan 13, 2021 6:59 pm you would like to extract EXIF:DateTaken value to use it in your script, right?
Correct.
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
User avatar
xnview
Author of XnView
Posts: 44451
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Get "EXIF:DateTaken" with NConvert

Post by xnview »

Perhaps extract the info with

Code: Select all

nconvert -fullinfo file.jpg
Pierre.
User avatar
Peter2
XnThusiast
Posts: 1347
Joined: Thu Nov 24, 2005 3:07 pm
Location: CH

Re: Get "EXIF:DateTaken" with NConvert

Post by Peter2 »

Oops - my bad. I tried only "-info" ... :(

Thanks
XnViewMP <Current version> German, XnConvert <Current version>, Win 10